共用方式為


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

測試資料繫結 (Data Binding) 的屬性。

傳回

如果屬性已資料繫結則為 true,否則為 false

屬性

備註

注意

方法 IsPropertyBound 已過時。 在 Contains 屬性上使用 DataBindings 方法,以取得對等的控件設計工具功能。

適用於

另請參閱