OpenTransactions.OTAPI.Storable.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( Storable obj ) : HandleRef
obj Storable
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(Storable obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

コード例 #1
0
ファイル: Acct.cs プロジェクト: stamhe/Open-Transactions
        public new static Acct ot_dynamic_cast(Storable pObject)
        {
            IntPtr cPtr = otapiPINVOKE.Acct_ot_dynamic_cast(Storable.getCPtr(pObject));
            Acct   ret  = (cPtr == IntPtr.Zero) ? null : new Acct(cPtr, false);

            return(ret);
        }
All Usage Examples Of OpenTransactions.OTAPI.Storable::getCPtr