UtilReflectionGetAllInterfaces(Object) Method
Gets all the interfaces implemented or inherited by the specified object.
Namespace: DevCase.Core.Diagnostics.Assembly.ReflectionAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Type[] GetAllInterfaces(
Object obj
)
Public Shared Function GetAllInterfaces (
obj As Object
) As Type()
Dim obj As Object
Dim returnValue As Type()
returnValue = UtilReflection.GetAllInterfaces(obj)
public:
static array<Type^>^ GetAllInterfaces(
Object^ obj
)
static member GetAllInterfaces :
obj : Object -> Type[]
No code example is currently available or this language may not be supported.
- obj Object
-
The source object from which to retrieve the interfaces.
Type
All the found interfaces implemented or inherited by the specified object.
This is a code example.
No code example is currently available or this language may not be supported.
Dim interfaces As Type() = GetAllInterfaces(Me).OrderBy(Function(type As Type) type.FullName).ToArray()
For Each [interface] As Type In interfaces
Console.WriteLine([interface].FullName)
Next [interface]
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.