Share via


SyndicationItem.PublishedDate Property

Definition

Gets or sets the date the item was published.

public:
 property DateTime PublishedDate { DateTime get(); void set(DateTime value); };
DateTime PublishedDate();

void PublishedDate(DateTime value);
public System.DateTimeOffset PublishedDate { get; set; }
var dateTime = syndicationItem.publishedDate;
syndicationItem.publishedDate = dateTime;
Public Property PublishedDate As DateTimeOffset

Property Value

The atom:published element under atom:entry or the pubDate element under item element in RSS 2.0.

Applies to