ControlDesigner.IsPropertyBound(String) Método

Definición

Precaució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

Recupera un valor que indica si la propiedad especificada en el control asociado está enlazada a datos o no.

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

Parámetros

propName
String

La propiedad cuyo enlace de datos se va a comprobar.

Devoluciones

Es true si la propiedad está enlazada a datos; de lo contrario, es false.

Atributos

Comentarios

Nota:

El IsPropertyBound método está obsoleto. Use el Contains método en la DataBindings propiedad para la funcionalidad equivalente del diseñador de controles.

Se aplica a

Consulte también