This documentation is archived and is not being maintained.

Atom10FeedFormatter.PreserveElementExtensions Property

Gets and sets a value that specifies whether to preserve element extensions during serialization.

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

public bool PreserveElementExtensions { get; set; }

Property Value

Type: System.Boolean
A value that specifies whether to preserve element extensions during serialization.

The default value of this property is true. Element extensions are XML elements that are not defined in the Atom 1.0 specification. This property determines whether to write these elements during serialization. Similarly, this property determines whether to preserve unknown elements inside the ElementExtensions properties in the SyndicationFeed instance when deserializing an Atom1.0 feed.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: