System.Reflection.Emit.EnumBuilder.GetInterfaces Method

Returns an array of all the interfaces implemented on this a class and its base classes.

Syntax

public override Type[] GetInterfaces ()

Returns

Returns an array of Type objects representing the implemented interfaces. If none are defined, an empty array is returned.

Remarks

As a workaround, to retrieve the interface of a finished type, retrieve the type using Type.GetType or System.Reflection.Assembly.GetType(string) and use reflection on the retrieved type.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0