OpenTransactions.OTAPI.Storage.DecodeObject C# (CSharp) Méthode

DecodeObject() public méthode

public DecodeObject ( StoredObjectType theObjectType, string strInput ) : Storable
theObjectType StoredObjectType
strInput string
Résultat Storable
        public Storable DecodeObject(StoredObjectType theObjectType, string strInput)
        {
            IntPtr cPtr = otapiPINVOKE.Storage_DecodeObject(swigCPtr, (int)theObjectType, strInput);
            Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);
            if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }