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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.