ControlDesigner.IsPropertyBound(String) Metoda

Definice

Upozornění

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

Načte hodnotu určující, zda je zadaná vlastnost přidruženého ovládacího prvku vázána na data.

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

Parametry

propName
String

Vlastnost pro testování datové vazby.

Návraty

true, pokud je vlastnost vázána na data; v opačném případě . false

Atributy

Poznámky

Poznámka

Metoda IsPropertyBound je zastaralá. Použijte metodu Contains u DataBindings vlastnosti pro ekvivalentní funkce návrháře ovládacích prvků.

Platí pro

Viz také