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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.