Udostępnij przez


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

Zwraca żądane mapowanie interfejsu.

Atrybuty

Wyjątki

Ta metoda nie jest implementowana dla niekompletnych typów.

Uwagi

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

Dotyczy