public static int _sgsGetNext(IntPtr ctx, IntPtr varobj, int type) { IObjectBase obj = _IP2Obj(varobj); return(obj._intGetNext(Engine.GetCtx(ctx), type)); }