ILGenerator._ILGenerator.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Método

Definição

Mapeia um conjunto de nomes para um conjunto correspondente de identificadores de expedição.Maps a set of names to a corresponding set of dispatch identifiers.

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

Parâmetros

riid
Guid

Reservado para uso futuro.Reserved for future use. Deve ser IID_NULL.Must be IID_NULL.

rgszNames
IntPtr

Matriz passada de nomes a serem mapeados.Passed-in array of names to be mapped.

cNames
UInt32

Contagem dos nomes a serem mapeados.Count of the names to be mapped.

lcid
UInt32

O contexto de localidade no qual interpretar os nomes.The locale context in which to interpret the names.

rgDispId
IntPtr

Matriz alocada pelo chamador que recebe os IDs correspondentes aos nomes.Caller-allocated array that receives the IDs corresponding to the names.

Implementações

Exceções

O método é chamado de associação tardia usando a interface IDispatch do COM.The method is called late-bound using the COM IDispatch interface.

Comentários

Esse método é para acessar classes gerenciadas de código não gerenciado e não deve ser chamado a partir de código gerenciado.This method is for accessing managed classes from unmanaged code, and should not be called from managed code. Para obter mais informações, consulte IDispatch:: GetIDsOfNames.For more information, see IDispatch::GetIDsOfNames.

Aplica-se a