本文整理汇总了C#中StoredObjectType类的典型用法代码示例。如果您正苦于以下问题:C# StoredObjectType类的具体用法?C# StoredObjectType怎么用?C# StoredObjectType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
StoredObjectType类属于命名空间,在下文中一共展示了StoredObjectType类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DecodeObject
public static Storable DecodeObject(StoredObjectType theObjectType, string strInput)
{
IntPtr cPtr = otapiPINVOKE.DecodeObject((int)theObjectType, strInput);
Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例2: DecodeObject
public Storable DecodeObject(StoredObjectType theObjectType, string strInput)
{
global::System.IntPtr cPtr = otapiPINVOKE.Storage_DecodeObject(swigCPtr, (int)theObjectType, strInput);
Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例3: CreateObject
public static Storable CreateObject(StoredObjectType eType)
{
IntPtr cPtr = otapiPINVOKE.CreateObject((int)eType);
Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);
return ret;
}
示例4: QueryObject
public static Storable QueryObject(StoredObjectType theObjectType, string strFolder)
{
IntPtr cPtr = otapiPINVOKE.QueryObject__SWIG_3((int)theObjectType, strFolder);
Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例5: QueryObject
public Storable QueryObject(StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr)
{
IntPtr cPtr = otapiPINVOKE.Storage_QueryObject__SWIG_1(swigCPtr, (int)theObjectType, strFolder, oneStr, twoStr);
Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例6: Create
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;
}
示例7: CreateObject
public Storable CreateObject(StoredObjectType eType) {
global::System.IntPtr cPtr = otapiPINVOKE.Storage_CreateObject(swigCPtr, (int)eType);
Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);
return ret;
}
示例8: QueryObject
public static Storable QueryObject(StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr, string threeStr)
{
global::System.IntPtr cPtr = otapiPINVOKE.QueryObject__SWIG_0((int)theObjectType, strFolder, oneStr, twoStr, threeStr);
Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);
if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
return ret;
}