ITypeInfo.GetNames Method (Int32, String[], Int32, Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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,
	string[] rgBstrNames,
	int cMaxNames,
	out int pcNames


Type: System.Int32

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

Type: System.String[]

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

Type: System.Int32

The length of the rgBstrNames array.

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