CacheControlHeaderValue.MaxAge Property

Gets or sets {insert text here}.

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

Syntax

'Declaration
Public Property MaxAge As Nullable(Of TimeSpan)
    Get 
    Set
'Usage
Dim instance As CacheControlHeaderValue 
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>

See Also

Reference

CacheControlHeaderValue Class

System.Net.Http.Headers Namespace