SyndicationFeed Class
Represents a top-level feed object, <feed> in Atom 1.0 and <rss> in RSS 2.0.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
The SyndicationFeed type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SyndicationFeed() | Initializes a new instance of the SyndicationFeed class. |
![]() | SyndicationFeed(IEnumerable<SyndicationItem>) | Initializes a new instance of the SyndicationFeed class with the specified collection of SyndicationItem objects. |
![]() | SyndicationFeed(SyndicationFeed, Boolean) | Creates a new instance of the SyndicationFeed class with the specified feed. |
![]() | SyndicationFeed(String, String, Uri) | Initializes a new instance of the SyndicationFeed class with the specified title, description, and Uniform Resource Identifier (URI). |
![]() | SyndicationFeed(String, String, Uri, IEnumerable<SyndicationItem>) | Initializes a new instance of the SyndicationFeed class with the specified title, description, URI, and collection of SyndicationItem objects. |
![]() | SyndicationFeed(String, String, Uri, String, DateTimeOffset) | Creates a new instance of the SyndicationFeed class. |
![]() | SyndicationFeed(String, String, Uri, String, DateTimeOffset, IEnumerable<SyndicationItem>) | Creates a new instance of the SyndicationFeed class. |
| Name | Description | |
|---|---|---|
![]() | AttributeExtensions | Gets a collection of attribute extensions. |
![]() | Authors | Gets a collection of authors of the feed. |
![]() | BaseUri | Gets or sets the base URI for the SyndicationFeed instance. |
![]() | Categories | Gets a collection of categories for the feed. |
![]() | Contributors | Gets a collection of the contributors to the feed. |
![]() | Copyright | Gets or sets copyright information for the feed. |
![]() | Description | Gets or sets a description of the feed. |
![]() | ElementExtensions | Gets the element extensions for the feed. |
![]() | Generator | Gets or sets the generator of the feed. |
![]() | Id | Gets or sets the ID of the feed. |
![]() | ImageUrl | Gets or sets the image URL for the feed. |
![]() | Items | Gets a collection of the feed items contained in the feed. |
![]() | Language | Gets or sets the language of the feed. |
![]() | LastUpdatedTime | Gets or sets the time the feed was last updated. |
![]() | Links | Gets the links associated with the feed. |
![]() | Title | Gets or sets the title of the feed. |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a copy of the SyndicationFeed instance. |
![]() | CreateCategory | Creates a new SyndicationCategory instance. |
![]() | CreateItem | Creates a new SyndicationItem instance. |
![]() | CreateLink | Creates a new SyndicationLink instance. |
![]() | CreatePerson | Creates a new SyndicationPerson instance. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAtom10Formatter | Gets an Atom10FeedFormatter instance. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetRss20Formatter() | Gets an Rss20FeedFormatter instance. |
![]() | GetRss20Formatter(Boolean) | Gets a new Rss20FeedFormatter instance. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Load(XmlReader) | Loads a syndication feed from the specified XML reader. |
![]() ![]() | Load<TSyndicationFeed>(XmlReader) | Loads a SyndicationFeed-derived instance from the specified XmlReader. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SaveAsAtom10 | Write the syndication feed to the specified XmlWriter in Atom 1.0 format. |
![]() | SaveAsRss20 | Write the syndication feed to the specified XmlWriter in RSS 2.0 format. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryParseAttribute | Attempts to parse an attribute extension. |
![]() | TryParseElement | Attempts to parse an element extension. |
![]() | WriteAttributeExtensions | Writes the attribute extensions to the specified XmlWriter using the specified syndication version. |
![]() | WriteElementExtensions | Writes the element extensions to the specified XmlWriter using the specified syndication version. |
When serialized to Atom 1.0, a SyndicationFeed instance is written to a <feed> element. The following table shows how each property defined in the SyndicationFeed class is serialized to Atom 1.0.
SyndicationFeed property | Serialized form |
|---|---|
AttributeExtensions | An attribute in the <feed> element for each attribute in the collection. |
Authors | An <author> element for each SyndicationPerson in the collection. |
Categories | A <category> element for each SyndicationCategory in the collection. |
Contributors | A <contributor> element for each SyndicationPerson in the collection. |
Copyright | A <rights> element. |
Description | A <subtitle> element. |
ElementExtensions | Each element in the collection is written within the <feed> element. |
Generator | A <generator> element. |
Id | An <id>element. |
ImageUri | A <logo> element. |
Items | An <entry> element for each SyndicationItem in the collection. |
Language | Not serialized. |
LastUpdatedTime | An <updated> element. |
Links | A <link> element for each SyndicationLink in the collection. |
Title | A <title> element. |
When serialized to RSS 2.0, a SyndicationFeed instance is written to an <rss> element. The following table shows how each property defined in the SyndicationFeed class is serialized to RSS 2.0.
SyndicationFeed property | Serialized form |
|---|---|
AttributeExtensions | An attribute in the <channel> element for each attribute in the collection. |
Authors | A <managingEditor> element if only one SyndicationPerson is in the collection; otherwise, an <a10:author> element for each SyndicationPerson in the collection. |
Categories | A <category> element for each SyndicationCategory in the collection. |
Contributors | An <a10:contributor> element for each SyndicationPerson in the collection. |
Copyright | A <copyright> element. |
Description | A <description> element. |
ElementExtensions | Each element in the collection is written within the <channel> element. |
Generator | A <generator> element. |
Id | An <a10:id> element. |
ImageUri | An <image> element. |
Items | An <item> element for each SyndicationItem in the collection. |
Language | A <language> element. |
LastUpdatedTime | A <lastBuildDate> element. |
Links | An <a10:link> element for each SyndicationLink in the collection. |
Title | A <title> element. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
