IDispatchImplAttribute コンストラクター

定義

IDispatchImplAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

IDispatchImplAttribute(Int16)

IDispatchImplAttribute クラスの新しいインスタンスを、指定した IDispatchImplType 値を使用して初期化します。

IDispatchImplAttribute(IDispatchImplType)

IDispatchImplAttribute クラスの新しいインスタンスを、指定した IDispatchImplType 値を使用して初期化します。

IDispatchImplAttribute(Int16)

IDispatchImplAttribute クラスの新しいインスタンスを、指定した IDispatchImplType 値を使用して初期化します。

public:
 IDispatchImplAttribute(short implType);
public IDispatchImplAttribute (short implType);
new System.Runtime.InteropServices.IDispatchImplAttribute : int16 -> System.Runtime.InteropServices.IDispatchImplAttribute
Public Sub New (implType As Short)

パラメーター

implType
Int16

使用する IDispatchImplType 列挙体を示します。

注釈

このコンストラクターは、各 IDispatchImplType 列挙メンバーを表す基になる 16 ビット符号付き整数を受け取ります。 タイプ ライブラリ インポーター (TlbImp.exe) では、このコンストラクターを使用して、表す値への IDispatchImplType typeref が value 生成されないようにし、そのトークンを使用して署名をビルドします。

適用対象

IDispatchImplAttribute(IDispatchImplType)

IDispatchImplAttribute クラスの新しいインスタンスを、指定した IDispatchImplType 値を使用して初期化します。

public:
 IDispatchImplAttribute(System::Runtime::InteropServices::IDispatchImplType implType);
public IDispatchImplAttribute (System.Runtime.InteropServices.IDispatchImplType implType);
new System.Runtime.InteropServices.IDispatchImplAttribute : System.Runtime.InteropServices.IDispatchImplType -> System.Runtime.InteropServices.IDispatchImplAttribute
Public Sub New (implType As IDispatchImplType)

パラメーター

implType
IDispatchImplType

使用する IDispatchImplType 列挙体を示します。

注釈

エラーが発生しにくい読み取り可能なコードの場合は、常にこのコンストラクターを使用します。

適用対象