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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.