FormParameter.Evaluate(HttpContext, Control) Método
Definição
Atualiza e retorna o valor do objeto FormParameter.Updates and returns the value of the FormParameter object.
protected:
override System::Object ^ Evaluate(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
protected public:
override System::Object ^ Evaluate(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
protected override object Evaluate (System.Web.HttpContext context, System.Web.UI.Control control);
protected internal override object Evaluate (System.Web.HttpContext context, System.Web.UI.Control control);
override this.Evaluate : System.Web.HttpContext * System.Web.UI.Control -> obj
Protected Overrides Function Evaluate (context As HttpContext, control As Control) As Object
Protected Friend Overrides Function Evaluate (context As HttpContext, control As Control) As Object
Parâmetros
- context
- HttpContext
O HttpContext atual da solicitação.The current HttpContext of the request.
- control
- Control
Um Control associado à página em que FormParameter é usado.A Control that is associated with the page where the FormParameter is used.
Retornos
Um objeto que representa o valor atualizado e atual do parâmetro.An object that represents the updated and current value of the parameter. Se o contexto ou a solicitação for nula (Nothing no Visual Basic), o método Evaluate(HttpContext, Control) retornará nulo.If the context or the request is null (Nothing in Visual Basic), the Evaluate(HttpContext, Control) method returns null.
Comentários
As FormParameter tentativas de associação à variável de formulário sempre que o Evaluate método é chamado.The FormParameter attempts to bind to the form variable every time the Evaluate method is called.
O context parâmetro é usado pelo Evaluate método para recuperar o valor do campo de formulário especificado da solicitação.The context parameter is used by the Evaluate method to retrieve the value of the specified form field from the request. O control parâmetro é ignorado.The control parameter is ignored.