Export (0) Print
Expand All

DependencyObject.RemoveProperty Method

Removes a DependencyProperty from the DependencyObject.

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

public bool RemoveProperty(
	DependencyProperty dependencyProperty
)

Parameters

dependencyProperty
Type: System.Workflow.ComponentModel.DependencyProperty

The DependencyProperty to be removed.

Return Value

Type: System.Boolean
true if operation was successful; otherwise, false.

ExceptionCondition
ArgumentNullException

The argument is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft