_AppDomain.GetIDsOfNames Method

Maps a set of names to a corresponding set of dispatch identifiers.

This method is not CLS-compliant.  

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

void GetIDsOfNames (
	[InAttribute] ref Guid riid,
	IntPtr rgszNames,
	uint cNames,
	uint lcid,
	IntPtr rgDispId
void GetIDsOfNames (
	/** @attribute InAttribute() */ /** @ref */ Guid riid, 
	IntPtr rgszNames, 
	UInt32 cNames, 
	UInt32 lcid, 
	IntPtr rgDispId
Not applicable.



Reserved for future use. Must be IID_NULL.


Passed-in array of names to be mapped.


Count of the names to be mapped.


The locale context in which to interpret the names.


Caller-allocated array which receives the IDs corresponding to the names.

Exception typeCondition


The method is called late-bound using the COM IDispatch interface.

This method is for access to managed classes from unmanaged code, and should not be called from managed code. For more information about IDispatch::GetIDsOfNames, see the MSDN Library.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0