UtilReflectionGetInterface(Object, String) Method
Searches for the specified interface implemented or inherited in 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 GetInterface(
Object obj,
string interfaceName
)
Public Shared Function GetInterface (
obj As Object,
interfaceName As String
) As Type
Dim obj As Object
Dim interfaceName As String
Dim returnValue As Type
returnValue = UtilReflection.GetInterface(obj,
interfaceName)
public:
static Type^ GetInterface(
Object^ obj,
String^ interfaceName
)
static member GetInterface :
obj : Object *
interfaceName : string -> Type
No code example is currently available or this language may not be supported.
- obj Object
-
The source object from which to retrieve the interface.
- interfaceName String
-
The name of the interface to search for.
Type
The resulting interface implemented or inherited in the specified object.
This is a code example.
No code example is currently available or this language may not be supported.
Dim [interface] As Type = GetInterface(Me, "IWin32Window")
Console.WriteLine([interface].FullName)
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.