Inheritance: Displayable
Esempio n. 1
0
        public new static ContactAcct ot_dynamic_cast(Storable pObject)
        {
            IntPtr      cPtr = otapiPINVOKE.ContactAcct_ot_dynamic_cast(Storable.getCPtr(pObject));
            ContactAcct ret  = (cPtr == IntPtr.Zero) ? null : new ContactAcct(cPtr, false);

            return(ret);
        }
Esempio n. 2
0
        public ContactAcct GetContactAcct(uint nIndex)
        {
            IntPtr      cPtr = otapiPINVOKE.Contact_GetContactAcct(swigCPtr, nIndex);
            ContactAcct ret  = (cPtr == IntPtr.Zero) ? null : new ContactAcct(cPtr, false);

            return(ret);
        }
Esempio n. 3
0
        public bool AddContactAcct(ContactAcct disownObject)
        {
            bool ret = otapiPINVOKE.Contact_AddContactAcct(swigCPtr, ContactAcct.getCPtr(disownObject));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static HandleRef getCPtr(ContactAcct obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 5
0
 public bool AddContactAcct(ContactAcct disownObject)
 {
     bool ret = otapiPINVOKE.Contact_AddContactAcct(swigCPtr, ContactAcct.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 6
0
 internal static HandleRef getCPtr(ContactAcct obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }