When overridden in a derived class, gets all the interfaces implemented or inherited by the current
Type.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public abstract Type[] GetInterfaces()
Return Value
Type:
TypeAn array of
Type objects representing all the interfaces implemented or inherited by the current
Type.-or- An empty array of type
Type, if no interfaces are implemented or inherited by the current
Type.
Exceptions Exception | Condition |
---|
TargetInvocationException | A static initializer is invoked and throws an exception. |
See Also