TypeBuilder.GetInterfaceMap(Type) Methode

Definition

Gibt eine Schnittstellenzuordnung für die angeforderte Schnittstelle zurück.

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

Parameter

interfaceType
Type

Der Type der Schnittstelle, für die die Zuordnung abgerufen werden soll.

Gibt zurück

InterfaceMapping

Gibt die angeforderte Schnittstellenzuordnung zurück.

Attribute

Ausnahmen

Diese Methode ist für unvollständige Typen nicht implementiert.

Hinweise

Rufen Sie den Typ Type.GetType mithilfe von oder Assembly.GetType ab, und verwenden Sie Reflektion für den abgerufenen Typ.

Gilt für