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 устарел. Contains Используйте метод в свойстве DataBindings для эквивалентных функций конструктора элементов управления.

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

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