SyndicationItem.ElementExtensions Property
Gets the element extensions contained in the syndication item.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
Property Value
Type: System.ServiceModel.Syndication.SyndicationElementExtensionCollectionA SyndicationElementExtensionCollection that contains the element extensions.
Element extensions are valid XML elements that are not specified in either the Atom 1.0 or RSS 2.0 specifications. Any valid XML element can be added as an extension provided its namespace is different from the enclosing namespace. When serialized, extensions are written like any other XML element.
<mg:MyElement xmlns:mg="http://myserver/elements" />
For a complete example that shows how to add element extensions, see the Loosely-Typed Extensions Sample sample.
The following code shows how to add element extensions to a SyndicationItem instance.
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.