ParameterCollection.UpdateValues(HttpContext, Control) Método

Definição

Itera nos objetos Parameter contidos na coleção e chama o método Evaluate em cada um deles.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)

Parâmetros

context
HttpContext

A HttpRequest atual à qual o Parameter se associa.The current HttpRequest that the Parameter binds to.

control
Control

A instância de Control que é passada para cada método Evaluate(HttpContext, Control) do parâmetro.The Control instance that is passed to each parameter's Evaluate(HttpContext, Control) method.

Comentários

O control parâmetro é usado por Parameter objetos contidos na coleção para recuperar o Page objeto atual ao HttpRequest qual o Parameter objeto se associa.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.

Se o valor atual do Parameter objeto for diferente do valor armazenado em cache no estado de exibição, o OnParameterChanged método será chamado.If the current value for the Parameter object is different from the value cached in view state, the OnParameterChanged method is called.

Aplica-se a

Confira também