ערוך

שתף באמצעות


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

Definition

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.

public:
 void GetNames(int memid, cli::array <System::String ^> ^ rgBstrNames, int cMaxNames, [Runtime::InteropServices::Out] int % pcNames);
public void GetNames (int memid, string[] rgBstrNames, int cMaxNames, out int pcNames);
abstract member GetNames : int * string[] * int * int -> unit
Public Sub GetNames (memid As Integer, rgBstrNames As String(), cMaxNames As Integer, ByRef pcNames As Integer)

Parameters

memid
Int32

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

rgBstrNames
String[]

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

cMaxNames
Int32

The length of the rgBstrNames array.

pcNames
Int32

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

Remarks

For more information, see ITypeInfo::GetNames method.

Applies to