ControlDesigner.IsPropertyBound(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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
Retrieves a value indicating whether the specified property on the associated control is data-bound.
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
Parameters
- propName
- String
The property to test for data binding.
Returns
true
, if the property is data-bound; otherwise, false
.
- Attributes
Remarks
Note
The IsPropertyBound method is obsolete. Use the Contains method on the DataBindings property for equivalent control designer functionality.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈