GetRuntimeInterfaceMap Method

RuntimeReflectionExtensions.GetRuntimeInterfaceMap Method (TypeInfo, Type)

.NET Framework (current version)
 

Returns an interface mapping for the specified type and the specified interface.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public static InterfaceMapping GetRuntimeInterfaceMap(
	this TypeInfo typeInfo,
	Type interfaceType
)

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.InterfaceMapping

An object that represents the interface mapping for the specified interface and type.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft