ParameterBuilder._ParameterBuilder.GetIDsOfNames Metoda

Definice

Mapuje sadu názvů na odpovídající sadu identifikátorů pro rozesílání.

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

Parametry

riid
Guid

Vyhrazeno pro budoucí použití. Musí být IID_NULL.

rgszNames
IntPtr

nativeint

Předané pole názvů, které se mají mapovat.

cNames
UInt32

Počet názvů, které se mají namapovat

lcid
UInt32

Kontext národního prostředí, ve kterém se mají názvy interpretovat.

rgDispId
IntPtr

nativeint

Pole přidělené volajícím, které přijímá ID odpovídající názvům.

Implementuje

Výjimky

Metoda se nazývá pozdní vazby pomocí rozhraní modelu COM IDispatch .

Poznámky

Tato metoda je určena pro přístup ke spravovaným třídám z nespravovaného kódu a neměla by se volat ze spravovaného kódu. Další informace naleznete v tématu IDispatch::GetIDsOfNames.

Platí pro