共用方式為


DependencyObject.RemoveProperty(DependencyProperty) 方法

定義

DependencyPropertyDependencyObject 中移除。

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

傳回

如果作業成功,則為 true,否則為 false

例外狀況

引數為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於