다음을 통해 공유


EnumBuilder.GetInterfaceMap Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns an interface mapping for the interface requested.

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Overrides Function GetInterfaceMap ( _
    interfaceType As Type _
) As InterfaceMapping
[ComVisibleAttribute(true)]
public override InterfaceMapping GetInterfaceMap(
    Type interfaceType
)

Parameters

  • interfaceType
    Type: System.Type
    The type of the interface for which the interface mapping is to be retrieved.

Return Value

Type: System.Reflection.InterfaceMapping
The requested interface mapping.

Exceptions

Exception Condition
NotSupportedException

This method is not currently supported in types that are not complete.

Remarks

As a workaround, to retrieve the interface mapping types of a finished type, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.