CookieAttribute Constructor

.NET Framework (current version)
 

Initializes a new instance of the CookieAttribute class.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodCookieAttribute()

Initializes a new instance of the CookieAttribute class.

System_CAPS_pubmethodCookieAttribute(String^)

Initializes a new instance of the CookieAttribute class using the specified cookie name.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Return to top
Show: