[]
        
(Showing Draft Content)

C1.Util.DX.ComObject.-ctor

ComObject Constructor

ComObject(nint)

Initializes a new instance of the ComObject class.

Declaration
public ComObject(nint pointer)
Public Sub New(pointer As IntPtr)
Parameters
Type Name Description
nint pointer

Pointer to Cpp Object

ComObject(object)

Initializes a new instance of the ComObject class from a IUnknown object.

Declaration
public ComObject(object iunknownObject)
Public Sub New(iunknownObject As Object)
Parameters
Type Name Description
object iunknownObject

Reference to a IUnknown object