共用方式為


CookieBuilder.Expiration 屬性

定義

取得或設定 Cookie 的存續期。

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

屬性值

適用於