Share via


CookieBuilder.Expiration Property

Definition

Gets or sets the lifespan of a cookie.

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

Property Value

Applies to