ConversionHasBaseType Method

Return a value indicating whether the specified Top Type has the specified Base Type.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static bool HasBaseType(
	Type topType,
	Type baseType
)

Parameters

topType  Type
The Top Type to regress.
baseType  Type
The Base Type to search for.

Return Value

Boolean
True if the Top Type is inherited from the Base Type. False otherwise.

See Also