UCOMITypeInfo.GetNames(Int32, String[], Int32, Int32) メソッド

定義

指定した関数 ID に対応する指定したメンバー 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)

パラメーター

memid
Int32

1 つ以上の名前が返されるメンバーの ID。

rgBstrNames
String[]

正常に返された場合は、メンバーと関連付けられた名前を格納します。

cMaxNames
Int32

rgBstrNames 配列の長さ。

pcNames
Int32

正常に返された場合は、rgBstrNames 配列内の名前の数。

注釈

の詳細については ITypeInfo::GetNames 、MSDN ライブラリを参照してください。

適用対象