ReflectionExtensionsGetInterfaces Method |
Method to retrieve all the interfaces of the given Type and it's base classes.
Namespace: Bio.ExtensionsAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static IEnumerable<Type> GetInterfaces(
this Type t
)
<ExtensionAttribute>
Public Shared Function GetInterfaces (
t As Type
) As IEnumerable(Of Type)
public:
[ExtensionAttribute]
static IEnumerable<Type^>^ GetInterfaces(
Type^ t
)
[<ExtensionAttribute>]
static member GetInterfaces :
t : Type -> IEnumerable<Type>
Parameters
- t
- Type: SystemType
[Missing <param name="t"/> documentation for "M:Bio.Extensions.ReflectionExtensions.GetInterfaces(System.Type)"]
Return Value
Type:
IEnumerableType[Missing <returns> documentation for "M:Bio.Extensions.ReflectionExtensions.GetInterfaces(System.Type)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also