Edit

Share via


ComInterfaceMarshaller<T>.ConvertToUnmanaged(T) Method

Definition

Converts a managed object to a COM interface pointer for the COM interface represented by T.

public:
 static void* ConvertToUnmanaged(T managed);
public static void* ConvertToUnmanaged (T? managed);
static member ConvertToUnmanaged : 'T -> nativeptr<unit>

Parameters

managed
T

The managed object.

Returns

Void*

The COM interface pointer.

Applies to