Bagikan melalui


ControlDesigner.IsPropertyBound(String) Metode

Definisi

Perhatian

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

Mengambil nilai yang menunjukkan apakah properti yang ditentukan pada kontrol terkait terikat dengan 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

Parameter

propName
String

Properti untuk menguji pengikatan data.

Mengembalikan

true, jika properti terikat data; jika tidak, false.

Atribut

Keterangan

Catatan

Metode IsPropertyBound ini kedaluarsa. Contains Gunakan metode pada DataBindings properti untuk fungsionalitas perancang kontrol yang setara.

Berlaku untuk

Lihat juga