Share via


CacheControlHeaderValue.MaxAge プロパティ

定義

ディレクティブの値 max-age を取得または設定します。

max-age は、応答が新しいと見なされる最大時間を指定します。

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

プロパティ値

注釈

以下を参照してください。https://tools.ietf.org/html/rfc7234#section-5.2.1.1

適用対象