RuntimeReflectionExtensions.GetRuntimeInterfaceMap Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns an interface mapping for the specified type and the specified interface.
Assembly: mscorlib (in mscorlib.dll)
'Declaration <ExtensionAttribute> _ Public Shared Function GetRuntimeInterfaceMap ( _ typeInfo As TypeInfo, _ interfaceType As Type _ ) As InterfaceMapping
Parameters
- typeInfo
- Type: System.Reflection.TypeInfo
The type to retrieve a mapping for.
- interfaceType
- Type: System.Type
The interface to retrieve a mapping for.
Return Value
Type: System.Reflection.InterfaceMappingAn object that represents the interface mapping for the specified interface and type.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type TypeInfo. When you use instance method syntax to call this method, omit the first parameter.
Show: