IsInstanceOfType Method
Collapse the table of content
Expand the table of content

DependencyObjectType::IsInstanceOfType Method (DependencyObject^)


Determines whether the specified object is an instance of the current DependencyObjectType.

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

bool IsInstanceOfType(
	DependencyObject^ dependencyObject


Type: System.Windows::DependencyObject^

The object to compare with the current DependencyObjectType.

Return Value

Type: System::Boolean

true if the class represented by the current DependencyObjectType is in the inheritance hierarchy of the DependencyObject passed as d; otherwise, false.

Objects of the exact same type return true.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft