IDispatchImplAttribute クラスの新しいインスタンスを、指定した IDispatchImplType 値を使用して初期化します。
名前空間: System.Runtime.InteropServices
アセンブリ: mscorlib (mscorlib.dll 内)
構文
'宣言
Public Sub New ( _
implType As Short _
)
'使用
Dim implType As Short
Dim instance As New IDispatchImplAttribute(implType)
public IDispatchImplAttribute (
short implType
)
public:
IDispatchImplAttribute (
short implType
)
public IDispatchImplAttribute (
short implType
)
public function IDispatchImplAttribute (
implType : short
)
パラメータ
- implType
使用する IDispatchImplType 列挙体を示します。
解説
このコンストラクタは、IDispatchImplType 列挙体の各メンバを表す、基になる 16 ビット符号付き整数値を受け取ります。タイプ ライブラリ インポータ (TlbImp.exe) は、このコンストラクタを使用して、value が表す IDispatchImplType 値への typeref の生成を防止してから、そのトークンでシグネチャを構築します。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
参照
関連項目
IDispatchImplAttribute クラス
IDispatchImplAttribute メンバ
System.Runtime.InteropServices 名前空間