Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITypeInfo::GetNames Method (Int32, array<String^>^, Int32, Int32%)

 

Retrieves the variable with the specified member ID (or the name of the property or method and its parameters) that corresponds to the specified function ID.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void GetNames(
	int memid,
	array<String^>^ rgBstrNames,
	int cMaxNames,
	[OutAttribute] int% pcNames
)

Parameters

memid
Type: System::Int32

The ID of the member whose name (or names) is to be returned.

rgBstrNames
Type: array<System::String^>^

When this method returns, contains the name (or names) associated with the member. This parameter is passed uninitialized.

cMaxNames
Type: System::Int32

The length of the rgBstrNames array.

pcNames
Type: System::Int32%

When this method returns, contains the number of names in the rgBstrNames array. This parameter is passed uninitialized.

For additional information about ITypeInfo::GetNames, see the MSDN Library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft