OpenTransactions.OTAPI.ContactNym.getCPtr C# (CSharp) Méthode

getCPtr() static private méthode

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

Usage Example

Exemple #1
0
        public bool AddContactNym(ContactNym disownObject)
        {
            bool ret = otapiPINVOKE.Contact_AddContactNym(swigCPtr, ContactNym.getCPtr(disownObject));

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