CookieBuilder.MaxAge Property

Definition

Gets or sets the max-age for the cookie.

public:
 virtual property Nullable<TimeSpan> MaxAge { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public virtual TimeSpan? MaxAge { get; set; }
member this.MaxAge : Nullable<TimeSpan> with get, set
Public Overridable Property MaxAge As Nullable(Of TimeSpan)

Property Value

Applies to