IsSubclassOf Method
Collapse the table of content
Expand the table of content

DependencyObjectType.IsSubclassOf Method (DependencyObjectType)

 

Determines whether the current DependencyObjectType derives from the specified DependencyObjectType.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public bool IsSubclassOf(
	DependencyObjectType dependencyObjectType
)

Parameters

dependencyObjectType
Type: System.Windows.DependencyObjectType

The DependencyObjectType to compare.

Return Value

Type: System.Boolean

true if the dependencyObjectType parameter and the current DependencyObjectType represent types of classes, and the class represented by the current DependencyObjectType derives from the class represented by dependencyObjectType. Otherwise, false. This method also returns false if dependencyObjectType and the current DependencyObjectType represent the same class.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft