Editar

Partilhar via


QueryStringParameter.Evaluate(HttpContext, Control) Method

Definition

Updates and returns the value of the QueryStringParameter 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

Parameters

context
HttpContext

The current HttpContext instance of the request.

control
Control

A Web server control that is associated with the ASP.NET Web page where the QueryStringParameter object is used.

Note This parameter is not used.

Returns

An object that represents the current value of the parameter. If the context or the request is null, the Evaluate(HttpContext, Control) method returns null.

Remarks

The QueryStringParameter object tries to bind to the query-string field every time that the Evaluate method is called.

The context parameter is used by the Evaluate method to retrieve the value of the specified query-string field from the query string. The control parameter is ignored.

Applies to

See also