TypeProvider.IsSubclassOf Method (Type, Type)

 

Indicates whether a Type is a derived class of another Type .

Namespace:   System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public static bool IsSubclassOf(
	Type subclass,
	Type superClass
)

Parameters

subclass
Type: System.Type

The Type being tested as a derived class.

superClass
Type: System.Type

The Type being tested as the class.

Return Value

Type: System.Boolean

true if the tested relationship is true; otherwise false.

.NET Framework
Available since 3.0
Return to top
Show: