CookieAttribute.Name Property

.NET Framework (current version)

Gets the name of the cookie.

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

public string Name { get; private set; }

Property Value

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
Return to top