public bool BeginRead() { if (CoreObject.Pointer == IntPtr.Zero) { return(false); } #if DEBUG && PWindow XndSDK.XNDAttrib_BeginRead(CoreObject, GetCurSourceFileName(), GetLineNum()); #else XndSDK.XNDAttrib_BeginRead(CoreObject, "", 0); #endif return(true); }