MethodInfo._MethodInfo.GetIDsOfNames Méthode

Définition

Mappe un jeu de noms avec un jeu correspondant d'identificateurs de dispatch.

 virtual void System.Runtime.InteropServices._MethodInfo.GetIDsOfNames(Guid % riid, IntPtr rgszNames, System::UInt32 cNames, System::UInt32 lcid, IntPtr rgDispId) = System::Runtime::InteropServices::_MethodInfo::GetIDsOfNames;
void _MethodInfo.GetIDsOfNames (ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
abstract member System.Runtime.InteropServices._MethodInfo.GetIDsOfNames : Guid * nativeint * uint32 * uint32 * nativeint -> unit
override this.System.Runtime.InteropServices._MethodInfo.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 _MethodInfo.GetIDsOfNames

Paramètres

riid
Guid

Réservé à un usage ultérieur. Doit être IID_NULL.

rgszNames
IntPtr

nativeint

Tableau passé des noms à mapper.

cNames
UInt32

Compte des noms à mapper.

lcid
UInt32

Contexte des 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 IDispatch COM 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.

S’applique à