EnumBuilder.GetInterfaceMap(Type) Metod

Definition

Returnerar en gränssnittsmappning för det begärda gränssnittet.

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

Parametrar

interfaceType
Type

Typen av gränssnitt som gränssnittsmappningen ska hämtas för.

Returer

Den begärda gränssnittsmappningen.

Attribut

Undantag

Typen implementerar inte gränssnittet.

Kommentarer

Om du vill hämta gränssnittsmappningstyperna av en färdig typ hämtar du typen med eller Type.GetTypeAssembly.GetType och använder reflektion över den hämtade typen.

Gäller för