Szerkesztés

Megosztás a következőn keresztül:


UniqueComInterfaceMarshaller<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