In The Hand LtdIn The Hand
GetInterface Method (instance, interfaceName, ignoreCase)
NamespacesInTheHandTypeHelperGetInterface(Type, String, Boolean)
.NET Components for Mobility
Searches for the specified interface, specifying whether to do a case-insensitive search for the interface name.
Declaration Syntax
C#Visual Basic
public static Type GetInterface(
	Type instance,
	string interfaceName,
	bool ignoreCase
)
Public Shared Function GetInterface ( _
	instance As Type, _
	interfaceName As String, _
	ignoreCase As Boolean _
) As Type
Parameters
instance (Type)
The Type.
interfaceName (String)
The String containing the name of the interface to get. For generic interfaces, this is the mangled name.
ignoreCase (Boolean)
true to ignore the case of that part of name that specifies the simple interface name (the part that specifies the namespace must be correctly cased).

-or-

false to perform a case-sensitive search for all parts of name.
Return Value
A Type object representing the interface with the specified name, implemented or inherited by the current Type, if found; otherwise, a null reference (Nothing in Visual Basic).

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0