OpenTransactions.OTAPI.Storable.Create C# (CSharp) 메소드

Create() 공개 정적인 메소드

public static Create ( StoredObjectType eType, PackType thePackType ) : Storable
eType StoredObjectType
thePackType PackType
리턴 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;
        }