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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

memid
Type: System.Int32

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

rgBstrNames
Type: 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: