IInterfaceInfo インターフェイス
更新 : 2007 年 11 月
指定されたタイプ ライブラリのインターフェイスのプロパティに関する情報を提供します。
名前空間 : Microsoft.VisualStudio.VsWizard
アセンブリ : Microsoft.VisualStudio.VsWizard (Microsoft.VisualStudio.VsWizard.dll 内)
構文
'宣言
<GuidAttribute("D4D285D2-2447-11D7-8BF6-00B0D03DAA06")> _
Public Interface IInterfaceInfo
'使用
Dim instance As IInterfaceInfo
[GuidAttribute("D4D285D2-2447-11D7-8BF6-00B0D03DAA06")]
public interface IInterfaceInfo
[GuidAttribute(L"D4D285D2-2447-11D7-8BF6-00B0D03DAA06")]
public interface class IInterfaceInfo
public interface IInterfaceInfo
解説
IInterfaceInfo オブジェクトは、指定されたインターフェイスに含まれる、次に示すようなプロパティの情報を制御します。
名前
型
関数
基本インターフェイス
たとえば、これらのプロパティを使用して、指定されたインターフェイスのメソッドをプロジェクトに追加できます。例については、「インターフェイス実装ウィザード」を参照してください。
例
// From the Visual Studio Implement Interface Wizard, which uses the
// Name property to identify and get the properties of an interface.
function GetProxyClassHeader(oInterface)
{
var strHeader;
var strInterface = oInterface.Name;
var strIID = "__uuidof(" + strInterface + ")";
strHeader =
"template<class T>\r\n" +
"class CProxy" + strInterface + " :\r\n" +
"\tpublic IConnectionPointImpl<T, &" + strIID + ">\r\n" +
"{\r\n" +
"public:\r\n";
return strHeader;
}
メモ : |
---|
カスタム ウィザードの HTML ファイルおよび default.js ファイルの両方でプロパティを呼び出す方法の詳細については、「方法 : Visual C++ ウィザード モデルの例を解釈する」を参照してください。 |