System.Web.UI.WebControls.ParameterCollection.UpdateValues Method

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

Syntax

public void UpdateValues (System.Web.HttpContext context, System.Web.UI.Control control)

Parameters

context
The current System.Web.HttpRequest that the System.Web.UI.WebControls.Parameter binds to.
control
The System.Web.UI.Control instance that is passed to each parameter's ControlParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method.

Remarks

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

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0