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

getCPtr() static private method

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

Usage Example

Ejemplo n.º 1
0
        public bool AddServerInfo(ServerInfo disownObject)
        {
            bool ret = otapiPINVOKE.ContactNym_AddServerInfo(swigCPtr, ServerInfo.getCPtr(disownObject));

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