CookieAttribute Constructor (String)
.NET Framework (current version)
Initializes a new instance of the CookieAttribute class using the specified cookie name.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.String
The name of the cookie.
For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.
.NET Framework
Available since 4.5
Available since 4.5
Show: