Inheritance: Displayable
示例#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);
        }
示例#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);
        }
示例#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;
 }
示例#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;
 }
示例#6
0
 internal static HandleRef getCPtr(ContactAcct obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }