Gets a collection of attribute extensions.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
An attribute extension is a valid XML attribute that is not specified in either the Atom 1.0 or RSS 2.0 specifications. When serialized to Atom 1.0, each custom attribute in the collection is written to the <atom> element. When serialized to RSS 2.0, each custom attribute is written to the <channel> element. For an example of adding an attribute extension, see the Loosely-Typed Extensions Sample sample.
The following code shows how to add an attribute extension to a syndication feed.
The following XML shows how an attribute extension is serialized to Atom 1.0.
The following XML shows how an attribute extension is serialized to RSS 2.0.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.