ComInterfaceMarshaller<T>.ConvertToUnmanaged(T) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertit un objet managé en pointeur d’interface COM pour l’interface COM représentée par T.
public:
static void* ConvertToUnmanaged(T managed);
public static void* ConvertToUnmanaged (T? managed);
static member ConvertToUnmanaged : 'T -> nativeptr<unit>
Paramètres
- managed
- T
Objet managé.
Retours
Pointeur d’interface COM.