Επεξεργασία

Κοινή χρήση μέσω


GenericTypeParameterBuilder.GetInterfaceMap(Type) Method

Definition

Not supported for incomplete generic type parameters.

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

Parameters

interfaceType
Type

A Type object that represents the interface type for which the mapping is to be retrieved.

Returns

Not supported for incomplete generic type parameters.

Attributes

Exceptions

In all cases.

Remarks

This method is not supported for incomplete generic type parameters. Retrieve the type parameter from the completed generic type definition and then use reflection on the retrieved type.

Applies to