Parameter::Evaluate Method
Updates and returns the value of the Parameter object.
Assembly: System.Web (in System.Web.dll)
Parameters
- context
- Type: System.Web::HttpContext
The current HttpContext of the request.
- control
- Type: System.Web.UI::Control
The Control the parameter is bound to. If the parameter is not bound to a control, the control parameter is ignored.
Return Value
Type: System::ObjectAn object that represents the updated and current value of the parameter.
The default implementation of the Evaluate method is to return nullptr in all cases. Classes that derive from the Parameter class override the Evaluate method to return an updated parameter value. For example, the ControlParameter object returns the value of the control that it is bound to, while the QueryStringParameter object retrieves the current name/value pair from the HttpRequest object.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.