TypeBuilder::IsSubclassOf Method (Type^)

 

Determines whether this type is derived from a specified type.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public:
[ComVisibleAttribute(true)]
virtual bool IsSubclassOf(
	Type^ c
) override

Parameters

c
Type: System::Type^

A Type that is to be checked.

Return Value

Type: System::Boolean

Read-only. Returns true if this type is the same as the type c, or is a subtype of type c; otherwise, false.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: