Rss20FeedFormatter.SerializeExtensionsAsAtom Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public bool SerializeExtensionsAsAtom { get; set; }

Property Value

Type: System.Boolean

A value that specifies whether to serialize extensions within the Atom 1.0 namespace.

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.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: