Aracılığıyla paylaş


SyndicationItem.PublishDate Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets and sets the publish date for the syndication item.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

Syntax

'Declaration
Public Property PublishDate As DateTimeOffset
public DateTimeOffset PublishDate { get; set; }

Property Value

Type: System.DateTimeOffset
A DateTimeOffset object that represents the publish date for the syndication item.

Remarks

When serialized to Atom 1.0, this property is written to a <published> element. When serialized to RSS 2.0, this property is written to a <pubDate> element.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.