ServerValidateEventArgs(String, Boolean) Construtor
Definição
Inicializa uma nova instância da classe ServerValidateEventArgs.Initializes a new instance of the ServerValidateEventArgs class.
public:
ServerValidateEventArgs(System::String ^ value, bool isValid);
public ServerValidateEventArgs (string value, bool isValid);
new System.Web.UI.WebControls.ServerValidateEventArgs : string * bool -> System.Web.UI.WebControls.ServerValidateEventArgs
Public Sub New (value As String, isValid As Boolean)
Parâmetros
- value
- String
O valor a ser validado.The value to validate.
- isValid
- Boolean
true para indicar que o valor passa a validação; caso contrário, false.true to indicate that the value passes validation; otherwise, false.
Comentários
Use este construtor para criar e inicializar uma nova instância da ServerValidateEventArgs classe.Use this constructor to create and initialize a new instance of the ServerValidateEventArgs class.
A tabela a seguir mostra os valores de propriedade inicial para uma instância do ServerValidateEventArgs .The following table shows initial property values for an instance of ServerValidateEventArgs.
| PropriedadeProperty | Valor inicialInitial Value |
|---|---|
Value |
O valor do value parâmetro.The value of the value parameter. |
IsValid |
O valor do isValid parâmetro.The value of the isValid parameter. |