DependencyObject.RemoveProperty(DependencyProperty) 方法

定义

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

参数

dependencyProperty
DependencyProperty

要删除的 DependencyProperty

返回

Boolean

如果操作成功,则为 true;否则为 false

例外

该自变量是空引用(在 Visual Basic 中为 Nothing)。

适用于