http://www.emgu.com
Use reflection to find the base type. If such type do not exist, null is returned

Namespace: Emgu.Util
Assembly: Emgu.Util (in Emgu.Util.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static Type GetBaseType(
	Type currentType,
	string baseClassName
)
Visual Basic
Public Shared Function GetBaseType ( 
	currentType As Type,
	baseClassName As String
) As Type
Visual C++
public:
static Type^ GetBaseType(
	Type^ currentType, 
	String^ baseClassName
)
F#
static member GetBaseType : 
        currentType : Type * 
        baseClassName : string -> Type 

Parameters

currentType
Type: System..::..Type
The type to search from
baseClassName
Type: System..::..String
The name of the base class to search

Return Value

Type: Type
The base type

See Also