UtilReflectionGetInterfaceT(String) Method
Searches for the specified interface implemented or inherited in the specified Type.
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<T>(
string interfaceName
)
Public Shared Function GetInterface(Of T) (
interfaceName As String
) As Type
Dim interfaceName As String
Dim returnValue As Type
returnValue = UtilReflection.GetInterface(interfaceName)
public:
generic<typename T>
static Type^ GetInterface(
String^ interfaceName
)
static member GetInterface :
interfaceName : string -> Type
No code example is currently available or this language may not be supported.
- interfaceName String
-
The name of the interface to search for.
- T
-
The source type from which to retrieve the interface.
Type
The resulting interface implemented or inherited in the specified
Type.
This is a code example.
No code example is currently available or this language may not be supported.
Dim [interface] As Type = GetInterface(Of Form)("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.