BaseValidator.ControlToValidate Właściwość

Definicja

Pobiera lub ustawia identyfikator kontrolki w celu zweryfikowania. Domyślna wartość to Empty. Ten interfejs API jest przestarzały. Aby uzyskać informacje na temat tworzenia aplikacji mobilnych ASP.NET, zobacz Mobile Apps & Witryny z ASP.NET.

public:
 property System::String ^ ControlToValidate { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.ValidatedMobileControlConverter))]
public string ControlToValidate { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.ValidatedMobileControlConverter))>]
member this.ControlToValidate : string with get, set
Public Property ControlToValidate As String

Wartość właściwości

Identyfikator kontrolki do zweryfikowania.

Atrybuty

Uwagi

Zgłasza wyjątek podczas wstępnego renderowania, jeśli identyfikator jest pusty lub nieprawidłowy.

Dotyczy

Zobacz też