CookieHeaderValue.MaxAge Property

 

Gets or sets the maximum age permitted for a resource.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

public Nullable<TimeSpan> MaxAge {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property Nullable<TimeSpan> MaxAge {
    [CompilerGeneratedAttribute]
    Nullable<TimeSpan> get();
    [CompilerGeneratedAttribute]
    void set(Nullable<TimeSpan> value);
}
member MaxAge : Nullable<TimeSpan> with get, set
Public Property MaxAge As Nullable(Of TimeSpan)

Property Value

Type: System.Nullable<TimeSpan>

The maximum age permitted for a resource.

See Also

CookieHeaderValue Class
System.Net.Http.Headers Namespace

Return to top