SyndicationItem.PublishedDate 属性

定义

获取或设置项目的发布日期。

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

属性值

atom:entry 下的 atom:published 元素或 RSS 2.0item 元素下的 pubDate 元素。

适用于