ControlDesigner.IsPropertyBound(String) 方法

定义

注意

The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202

检索一个值,该值指示关联控件上的指定属性是否是数据绑定的。

public:
 bool IsPropertyBound(System::String ^ propName);
public bool IsPropertyBound (string propName);
[System.Obsolete("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool IsPropertyBound (string propName);
member this.IsPropertyBound : string -> bool
[<System.Obsolete("The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.IsPropertyBound : string -> bool
Public Function IsPropertyBound (propName As String) As Boolean

参数

propName
String

用于测试数据绑定的属性。

返回

如果该属性是数据绑定的,则为 true;否则为 false

属性

注解

注意

方法 IsPropertyBound 已过时。 Contains对 属性使用 方法DataBindings,实现等效的控件设计器功能。

适用于

另请参阅