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

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

返回

Boolean

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

属性

注解

备注

该方法 IsPropertyBound 已过时。 将ContainsDataBindings属性上的方法用于等效的控件设计器功能。

适用于

另请参阅