In The Hand LtdIn The Hand
GetInterface Method (instance, interfaceName)
NamespacesInTheHandTypeHelperGetInterface(Type, String)
.NET Components for Mobility
Searches for the interface with the specified name.
Declaration Syntax
C#Visual Basic
public static Type GetInterface(
	Type instance,
	string interfaceName
)
Public Shared Function GetInterface ( _
	instance As Type, _
	interfaceName As String _
) 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.
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).
Remarks
The search for name is case-sensitive.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0