_ConstructorInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) _ConstructorInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) _ConstructorInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) _ConstructorInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) Method

定义

将一组名称映射为对应的一组调度标识符。Maps a set of names to a corresponding set of dispatch identifiers.

public:
 void GetIDsOfNames(Guid % riid, IntPtr rgszNames, System::UInt32 cNames, System::UInt32 lcid, IntPtr rgDispId);
public void GetIDsOfNames (ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
abstract member GetIDsOfNames :  * nativeint * uint32 * uint32 * nativeint -> unit
Public Sub GetIDsOfNames (ByRef riid As Guid, rgszNames As IntPtr, cNames As UInteger, lcid As UInteger, rgDispId As IntPtr)

参数

riid
Guid Guid Guid Guid

留待将来使用。Reserved for future use. 必须为 IID_NULL。Must be IID_NULL.

rgszNames
IntPtr IntPtr IntPtr IntPtr

要映射的名称的传入数组。Passed-in array of names to be mapped.

cNames
UInt32 UInt32 UInt32 UInt32

要映射的名称的计数。Count of the names to be mapped.

lcid
UInt32 UInt32 UInt32 UInt32

要在其中解释名称的区域设置上下文。The locale context in which to interpret the names.

rgDispId
IntPtr IntPtr IntPtr IntPtr

调用方分配的数组,用于接收与名称对应的 ID。Caller-allocated array that receives the IDs corresponding to the names.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code. 有关详细信息IDispatch::GetIDsOfNames,请参阅 MSDN 库。For more information about IDispatch::GetIDsOfNames, see the MSDN Library.

适用于