ITypeInfo2.AddressOfMember(Int32, INVOKEKIND, IntPtr) 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.
Récupère les adresses des fonctions statiques ou des variables, telles que celles définies dans une DLL.
public:
void AddressOfMember(int memid, System::Runtime::InteropServices::ComTypes::INVOKEKIND invKind, [Runtime::InteropServices::Out] IntPtr % ppv);
public void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out IntPtr ppv);
abstract member AddressOfMember : int * System.Runtime.InteropServices.ComTypes.INVOKEKIND * nativeint -> unit
Public Sub AddressOfMember (memid As Integer, invKind As INVOKEKIND, ByRef ppv As IntPtr)
Paramètres
- memid
- Int32
ID de membre de l’adresse static du membre à récupérer.
- invKind
- INVOKEKIND
Une des INVOKEKIND valeurs qui spécifie si le membre est une propriété et, le cas échéant, quel type.
- ppv
-
IntPtr
nativeint
Lorsque cette méthode est retournée, contient une référence au static membre. Ce paramètre est passé non initialisé.
Implémente
Remarques
Pour plus d’informations, consultez la méthode AddressOfMember.