Modifica

Condividi tramite


ParameterCollection.UpdateValues(HttpContext, Control) Method

Definition

Iterates through the Parameter objects contained by the collection, and calls the Evaluate method on each one.

public:
 void UpdateValues(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
public void UpdateValues (System.Web.HttpContext context, System.Web.UI.Control control);
member this.UpdateValues : System.Web.HttpContext * System.Web.UI.Control -> unit
Public Sub UpdateValues (context As HttpContext, control As Control)

Parameters

context
HttpContext

The current HttpRequest that the Parameter binds to.

control
Control

The Control instance that is passed to each parameter's Evaluate(HttpContext, Control) method.

Remarks

The control parameter is used by Parameter objects contained in the collection to retrieve the Page and current HttpRequest object that the Parameter object binds to.

If the current value for the Parameter object is different from the value cached in view state, the OnParameterChanged method is called.

Applies to

See also