getCPtr() static private method

static private getCPtr ( ContactAcct obj ) : HandleRef
obj ContactAcct
return System.Runtime.InteropServices.HandleRef
コード例 #1
0
ファイル: Contact.cs プロジェクト: lakkris/Open-Transactions
        public bool AddContactAcct(ContactAcct disownObject)
        {
            bool ret = otapiPINVOKE.Contact_AddContactAcct(swigCPtr, ContactAcct.getCPtr(disownObject));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }