OpenTransactions.OTAPI.Storable.Create C# (CSharp) Method

Create() public static method

public static Create ( StoredObjectType eType, PackType thePackType ) : Storable
eType StoredObjectType
thePackType PackType
return Storable
        public static Storable Create(StoredObjectType eType, PackType thePackType)
        {
            IntPtr cPtr = otapiPINVOKE.Storable_Create((int)eType, (int)thePackType);
            Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, false);
            return ret;
        }