Attribute._Attribute.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._Attribute.GetIDsOfNames(Guid % riid, IntPtr rgszNames, System::UInt32 cNames, System::UInt32 lcid, IntPtr rgDispId) = System::Runtime::InteropServices::_Attribute::GetIDsOfNames;
void _Attribute.GetIDsOfNames (ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
abstract member System.Runtime.InteropServices._Attribute.GetIDsOfNames : Guid * nativeint * uint32 * uint32 * nativeint -> unit
override this.System.Runtime.InteropServices._Attribute.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 _Attribute.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
Não há suporte para acesso com associação tardia usando a interface IDispatch
COM.Late-bound access using the COM IDispatch
interface is not supported.
Comentários
Este método é para acesso a classes gerenciadas de código não gerenciado e não deve ser chamado em código gerenciado.This method is for access to 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.