TypeBuilder.GetInterfaceMap(Type) Metoda

Definicja

Zwraca mapowanie interfejsu dla żądanego interfejsu.

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

Parametry

interfaceType
Type

Interfejs, Type dla którego ma zostać pobrane mapowanie.

Zwraca

InterfaceMapping

Zwraca żądane mapowanie interfejsu.

Atrybuty

Wyjątki

Ta metoda nie jest zaimplementowana dla niekompletnych typów.

Uwagi

Pobierz typ przy użyciu Type.GetType lub Assembly.GetType i użyj odbicia pobranego typu.

Dotyczy