EnumBuilder.GetInterfaceMap(Type) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.