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

Свойство для проверки привязки данных.

Возвращаемое значение

true, если свойство привязано к данным; falseв противном случае .

Атрибуты

Комментарии

Замечание

Метод IsPropertyBound устарел. Используйте метод в свойстве ContainsDataBindings для эквивалентных функциональных возможностей конструктора элементов управления.

Применяется к

См. также раздел