DependencyObject.IsBindingSet(DependencyProperty) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示 DependencyProperty 的值是否设置为绑定。 请参阅 SetBinding(DependencyProperty, ActivityBind)。
public:
bool IsBindingSet(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty);
public bool IsBindingSet(System.Workflow.ComponentModel.DependencyProperty dependencyProperty);
member this.IsBindingSet : System.Workflow.ComponentModel.DependencyProperty -> bool
Public Function IsBindingSet (dependencyProperty As DependencyProperty) As Boolean
参数
- dependencyProperty
- DependencyProperty
要 DependencyProperty 测试的。
返回
true 如果设置为绑定,则为否则,为 false.
例外
dependencyProperty是空引用(Visual Basic 中的 Nothing)。