要求したインターフェイスに対するインターフェイスの割り当てを返します。
Overrides Public Function GetInterfaceMap( _
ByVal interfaceType As Type _) As InterfaceMapping
[C#]
public override InterfaceMapping GetInterfaceMap(TypeinterfaceType);
[C++]
public: InterfaceMapping GetInterfaceMap(Type* interfaceType);
[JScript]
public override function GetInterfaceMap(
interfaceType : Type) : InterfaceMapping;
パラメータ
- interfaceType
インターフェイスの割り当てを取得するインターフェイスの型。
戻り値
要求したインターフェイスの割り当て。
例外
例外の種類 | 条件 |
---|---|
ArgumentException | この型はインターフェイスを実装しません。 |
解説
終了型のインターフェイスの割り当て型を取得する代替手段としては、 Type.GetType または Assembly.GetType を使用して型を取得し、取得した型に対してリフレクションを使用します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
EnumBuilder クラス | EnumBuilder メンバ | System.Reflection.Emit 名前空間