Rss20ItemFormatter.PreserveElementExtensions Property

 

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

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.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 element extensions inside the ElementExtensions property in the SyndicationItem instance when deserializing an RSS 2.0 item.

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