UtilReflectionGetInterface(Type, 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(
Type type,
string interfaceName
)
Public Shared Function GetInterface (
type As Type,
interfaceName As String
) As Type
Dim type As Type
Dim interfaceName As String
Dim returnValue As Type
returnValue = UtilReflection.GetInterface(type,
interfaceName)
public:
static Type^ GetInterface(
Type^ type,
String^ interfaceName
)
static member GetInterface :
type : Type *
interfaceName : string -> Type
No code example is currently available or this language may not be supported.
- type Type
-
The source Type 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
Type.
This is a code example.
No code example is currently available or this language may not be supported.
Dim [interface] As Type = GetInterface(GetType(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.