When implemented by a derived class, gets all the interfaces implemented or inherited by the current Type.
[Visual Basic] MustOverride Public Function GetInterfaces() As Type () [C#] public abstract Type[] GetInterfaces(); [C++] public: virtual Type* GetInterfaces() [] = 0; [JScript] public abstract function GetInterfaces() : Type[];
An 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.
Exception Type | Condition |
---|---|
TargetInvocationException | A static initializer is invoked and throws an exception. |
Abstract. This method must be implemented by a derived class.