EnumBuilder.GetInterfaces Method

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

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

public override Type[] GetInterfaces()

Return Value

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

Implements

_Type.GetInterfaces()

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft