DisposableWrapperCreate Method
|
Creates a disposable wrapper according to the
specified parameters.
Namespace: Teigha.Runtime
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
26.9.0.0
Syntax
public static DisposableWrapper Create(
Type type,
IntPtr unmanagedPointer,
bool autoDelete
)
Public Shared Function Create (
type As Type,
unmanagedPointer As IntPtr,
autoDelete As Boolean
) As DisposableWrapper
public:
static DisposableWrapper^ Create(
Type^ type,
IntPtr unmanagedPointer,
bool autoDelete
)
static member Create :
type : Type *
unmanagedPointer : IntPtr *
autoDelete : bool -> DisposableWrapper
Parameters
- type Type
- [in] Type of the object.
- unmanagedPointer IntPtr
- [in] Unmanaged pointer to the object from which this object is
created.
- autoDelete Boolean
- [in] Flag that specifies whether the object should be
automatically deleted by the Garbage Collector.
Return Value
DisposableWrapper
Created disposable wrapper.
See Also