TypeBuilder.GetInterfaceMap(Type) 方法

定义

返回请求的接口的接口映射。

public:
 override System::Reflection::InterfaceMapping GetInterfaceMap(Type ^ interfaceType);
public override System.Reflection.InterfaceMapping GetInterfaceMap (Type interfaceType);
[System.Runtime.InteropServices.ComVisible(true)]
public override System.Reflection.InterfaceMapping GetInterfaceMap (Type interfaceType);
override this.GetInterfaceMap : Type -> System.Reflection.InterfaceMapping
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.GetInterfaceMap : Type -> System.Reflection.InterfaceMapping
Public Overrides Function GetInterfaceMap (interfaceType As Type) As InterfaceMapping

参数

interfaceType
Type

要为其检索映射的接口的 Type

返回

InterfaceMapping

返回请求的接口映射。

属性

例外

不会为不完整类型实现此方法。

注解

使用 或 检索 Type.GetType 类型 Assembly.GetType ,并使用所检索类型的反射。

适用于