[]
        
(Showing Draft Content)

C1.Util.DX.CppObject.FromPointer

FromPointer Method

FromPointer<T>(IntPtr)

Instantiate a ComObject from a native pointer.

Declaration
public static T FromPointer<T>(IntPtr comObjectPtr) where T : CppObject
Parameters
Type Name Description
IntPtr comObjectPtr

The native pointer to a com object.

Returns
Type Description
T

An instance of T binded to the native pointer

Type Parameters
Name Description
T

The ComObject class that will be returned