CookieHeaderValue.Expires Property
Gets or sets the expiration date and time for the cookie.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public Nullable<DateTimeOffset> Expires {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
property Nullable<DateTimeOffset> Expires {
[CompilerGeneratedAttribute]
Nullable<DateTimeOffset> get();
[CompilerGeneratedAttribute]
void set(Nullable<DateTimeOffset> value);
}
member Expires : Nullable<DateTimeOffset> with get, set
Public Property Expires As Nullable(Of DateTimeOffset)
Property Value
Type: System.Nullable<DateTimeOffset>
The time of day (on the client) at which the cookie expires.
See Also
CookieHeaderValue Class
System.Net.Http.Headers Namespace
Return to top