UCOMITypeInfo.GetNames(Int32, String[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the variable with the specified member ID (or the name of the property or method and its parameters) that correspond 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[]
On successful return, contains the name (or names) associated with the member.
- cMaxNames
- Int32
Length of the rgBstrNames
array.
- pcNames
- Int32
On successful return, the number of names in the rgBstrNames
array.
Remarks
For additional information about ITypeInfo::GetNames
, see the MSDN Library.