PropertyInfo._PropertyInfo.GetIDsOfNames 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.
Mappe un jeu de noms avec un jeu correspondant d'identificateurs de dispatch.
virtual void System.Runtime.InteropServices._PropertyInfo.GetIDsOfNames(Guid % riid, IntPtr rgszNames, System::UInt32 cNames, System::UInt32 lcid, IntPtr rgDispId) = System::Runtime::InteropServices::_PropertyInfo::GetIDsOfNames;
void _PropertyInfo.GetIDsOfNames(ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
abstract member System.Runtime.InteropServices._PropertyInfo.GetIDsOfNames : Guid * nativeint * uint32 * uint32 * nativeint -> unit
override this.System.Runtime.InteropServices._PropertyInfo.GetIDsOfNames : Guid * nativeint * uint32 * uint32 * nativeint -> unit
Sub GetIDsOfNames (ByRef riid As Guid, rgszNames As IntPtr, cNames As UInteger, lcid As UInteger, rgDispId As IntPtr) Implements _PropertyInfo.GetIDsOfNames
Paramètres
- riid
- Guid
Réservé pour une utilisation ultérieure. Doit être IID_NULL.
- rgszNames
-
IntPtr
nativeint
Tableau de noms transmis à mapper.
- cNames
- UInt32
Nombre de noms à mapper.
- lcid
- UInt32
Contexte de paramètres régionaux dans lequel interpréter les noms.
- rgDispId
-
IntPtr
nativeint
Tableau alloué par l’appelant qui reçoit les ID correspondant aux noms.
Implémente
Exceptions
L’accès à liaison tardive à l’aide de l’interface COM IDispatch n’est pas pris en charge.
Remarques
Cette méthode permet d’accéder aux classes managées à partir de code non managé et ne doit pas être appelée à partir du code managé. Pour plus d’informations, consultez IDispatch ::GetIDsOfNames.