IClassType.IsSubclassOf Method

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the type is a subclass of the given type, including indirect inheritance through the type hierarchy.
bool IsSubclassOf(IClassType type)
This method has a default implementation in the interface.

Parameters

type IClassType
The type to check against.

Returns

bool
true if the type is a subclass of the specified type; otherwise, false.

Exceptions

ArgumentNullException
Thrown when type is null.