Aracılığıyla paylaş


Rss20FeedFormatter.SerializeExtensionsAsAtom Property

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

Gets and sets a value that specifies whether to serialize extensions within the Atom 1.0 namespace.

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

Syntax

'Declaration
Public Property SerializeExtensionsAsAtom As Boolean
public bool SerializeExtensionsAsAtom { get; set; }

Property Value

Type: System.Boolean
A value that specifies whether to serialize extensions within the Atom 1.0 namespace.

Remarks

The default value of this property is true. When this property is true, any properties in the SyndicationFeed class that cannot be represented in the RSS 2.0 format are serialized within the Atom 1.0 namespace otherwise these properties are not serialized.

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.