CookieParameter.Evaluate(HttpContext, Control) Method
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.
Updates and returns the value of the CookieParameter object.
protected:
override System::Object ^ Evaluate(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
protected public:
override System::Object ^ Evaluate(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
protected override object Evaluate (System.Web.HttpContext context, System.Web.UI.Control control);
protected internal override object Evaluate (System.Web.HttpContext context, System.Web.UI.Control control);
override this.Evaluate : System.Web.HttpContext * System.Web.UI.Control -> obj
Protected Overrides Function Evaluate (context As HttpContext, control As Control) As Object
Protected Friend Overrides Function Evaluate (context As HttpContext, control As Control) As Object
- context
- HttpContext
The current HttpContext of the request.
- control
- Control
A Control that is associated with the Web Forms page where the CookieParameter is used.
An object that represents the updated and current value of the parameter. If the context or the request is null
, the Evaluate(HttpContext, Control) method returns null.
The context
parameter is used by the Evaluate method to retrieve the cookies collection and the value of the cookie that the CookieParameter object binds to. The control
parameter is ignored.
Produkt | Verze |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Zpětná vazba k produktu .NET
.NET je open source projekt. Vyberte odkaz pro poskytnutí zpětné vazby: