ControlDesigner.IsPropertyBound(String) Metod

Definition

Varning

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

Hämtar ett värde som anger om den angivna egenskapen för den associerade kontrollen är databunden.

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

Parametrar

propName
String

Egenskapen som ska testas för databindning.

Returer

true, om egenskapen är databunden. annars . false

Attribut

Kommentarer

Note

Metoden IsPropertyBound är föråldrad. Contains Använd -metoden på egenskapen DataBindings för motsvarande kontrolldesignerfunktioner.

Gäller för

Se även