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
)

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

©  Bricsys NV. All rights reserved.