Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public Property MaxAge As Nullable(Of TimeSpan)
Get
Set
'Usage
Dim instance As CookieHeaderValue
Dim value As Nullable(Of TimeSpan)
value = instance.MaxAge
instance.MaxAge = value
public Nullable<TimeSpan> MaxAge { get; set; }
public:
property Nullable<TimeSpan> MaxAge {
Nullable<TimeSpan> get ();
void set (Nullable<TimeSpan> value);
}
member MaxAge : Nullable<TimeSpan> with get, set
function get MaxAge () : Nullable<TimeSpan>
function set MaxAge (value : Nullable<TimeSpan>)
Property Value
Type: System.Nullable<TimeSpan>
The maximum age permitted for a resource.