UCOMITypeInfo.GetNames メソッド
指定した関数 ID に対応する指定したメンバ ID の変数 (またはプロパティやメソッドの名前とそのパラメータ) を取得します。
Sub GetNames( _
ByVal memid As Integer, _ <Out()> ByVal rgBstrNames() As String, _ ByVal cMaxNames As Integer, _ <Out()> ByRef pcNames As Integer _)
[C#]
void GetNames(
intmemid, [ Out] string[] rgBstrNames,intcMaxNames, out intpcNames);
[C++]
void GetNames(
intmemid, [ Out] String* rgBstrNames __gc[],intcMaxNames, [ Out] int* pcNames);
[JScript]
function GetNames(
memid : int,rgBstrNames : String[],cMaxNames : int,pcNames : int);
パラメータ
- memid
1 つ以上の名前が返されるメンバの ID。 - rgBstrNames
正常に返された場合は、メンバと関連付けられた 1 つ以上の名前を格納します。 - cMaxNames
rgBstrNames 配列の長さ。 - pcNames
正常に返された場合は、 rgBstrNames 配列内の名前の数。
解説
ITypeInfo::GetNames の詳細については、MSDN ライブラリを参照してください。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
UCOMITypeInfo インターフェイス | UCOMITypeInfo メンバ | System.Runtime.InteropServices 名前空間