Rediger

Del via


DependencyObject.RemoveProperty(DependencyProperty) Method

Definition

Removes a DependencyProperty from the DependencyObject.

public:
 bool RemoveProperty(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty);
public bool RemoveProperty (System.Workflow.ComponentModel.DependencyProperty dependencyProperty);
member this.RemoveProperty : System.Workflow.ComponentModel.DependencyProperty -> bool
Public Function RemoveProperty (dependencyProperty As DependencyProperty) As Boolean

Parameters

dependencyProperty
DependencyProperty

The DependencyProperty to be removed.

Returns

true if operation was successful; otherwise, false.

Exceptions

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

Applies to