SyndicationFeed.TimeToLive Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the 'ttl' attribute for the feed.
public:
property Nullable<TimeSpan> TimeToLive { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? TimeToLive { get; set; }
member this.TimeToLive : Nullable<TimeSpan> with get, set
Public Property TimeToLive As Nullable(Of TimeSpan)
Property Value
A integer number indicating the number of minutes the feed can stay cached before refreshing it from the source.
Remarks
When serialized to RSS 2.0, the TimeToLive property is written to a <ttl>
element.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.