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.0.0.0 (2.0.0.0)

Syntax

C#
public static Type GetBaseType(
	Type currentType,
	string baseclassName
)
Visual Basic (Declaration)
Public Shared Function GetBaseType ( _
	currentType As Type, _
	baseclassName As String _
) As Type
Visual C++
public:
static Type^ GetBaseType(
	Type^ currentType, 
	String^ baseclassName
)

Parameters

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

Return Value

The base type

See Also