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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應