ParameterCollection.UpdateValues(HttpContext, Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈