SyndicationFeedFormatter Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

An abstract class used as a base class for other formatters, (for example Atom10FeedFormatter).

Inheritance Hierarchy

System.Object
  System.ServiceModel.Syndication.SyndicationFeedFormatter
    System.ServiceModel.Syndication.Atom10FeedFormatter
    System.ServiceModel.Syndication.Rss20FeedFormatter

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

Syntax

'Declaration
<DataContractAttribute> _
Public MustInherit Class SyndicationFeedFormatter
[DataContractAttribute]
public abstract class SyndicationFeedFormatter

The SyndicationFeedFormatter type exposes the following members.

Constructors

  Name Description
Protected method SyndicationFeedFormatter() Creates a new instance of the SyndicationFeedFormatter class.
Protected method SyndicationFeedFormatter(SyndicationFeed) Creates a new instance of the SyndicationFeedFormatter class with the specified SyndicationFeed instance.

Top

Properties

  Name Description
Public property Feed Gets the SyndicationFeed associated with the formatter.
Public property Version Gets the syndication version of the formatter.

Top

Methods

  Name Description
Public method CanRead Verifies that the specified XmlReader contains a valid syndication feed.
Protected methodStatic member CreateCategory(SyndicationFeed) Creates a new instance of the SyndicationCategory class using the specified SyndicationFeed instance.
Protected methodStatic member CreateCategory(SyndicationItem) Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.
Protected method CreateFeedInstance Creates a new instance of the SyndicationFeed class.
Protected methodStatic member CreateItem Creates a new instance of the SyndicationItem class using the specified SyndicationFeed instance.
Protected methodStatic member CreateLink(SyndicationFeed) Creates a new instance of the SyndicationLink class with the specified SyndicationFeed.
Protected methodStatic member CreateLink(SyndicationItem) Creates a new instance of the SyndicationLink class with the specified SyndicationItem.
Protected methodStatic member CreatePerson(SyndicationFeed) Creates a new SyndicationPerson instance with the specified SyndicationFeed instance.
Protected methodStatic member CreatePerson(SyndicationItem) Creates a new SyndicationPerson instance with the specified SyndicationItem instance.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method 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.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodStatic member LoadElementExtensions(XmlReader, SyndicationCategory, Int32) Loads element extensions into the specified SyndicationCategory using the specified XmlReader and the maximum extension size.
Protected methodStatic member LoadElementExtensions(XmlReader, SyndicationFeed, Int32) Loads element extensions into the specified SyndicationFeed using the specified XmlReader and the maximum extension size.
Protected methodStatic member LoadElementExtensions(XmlReader, SyndicationItem, Int32) Loads element extensions into the specified SyndicationItem using the specified XmlReader and the maximum extension size.
Protected methodStatic member LoadElementExtensions(XmlReader, SyndicationLink, Int32) Loads element extensions into the specified SyndicationLink using the specified XmlReader and the maximum extension size.
Protected methodStatic member LoadElementExtensions(XmlReader, SyndicationPerson, Int32) Loads element extensions into the specified SyndicationPerson using the specified XmlReader and the maximum extension size.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadFrom Reads in a SyndicationFeed from the specified XmlReader.
Protected method SetFeed Associates a SyndicationFeed instance with the SyndicationFeedFormatter.
Public method ToString Gets a string representation of the SyndicationFeedFormatter instance. (Overrides Object.ToString().)
Protected methodStatic member TryParseAttribute(String, String, String, SyndicationCategory, String) Attempts to parse an attribute extension using the specified SyndicationCategory instance.
Protected methodStatic member TryParseAttribute(String, String, String, SyndicationFeed, String) Attempts to parse an attribute extension using the specified SyndicationFeed instance.
Protected methodStatic member TryParseAttribute(String, String, String, SyndicationItem, String) Attempts to parse an attribute extension using the specified SyndicationItem instance.
Protected methodStatic member TryParseAttribute(String, String, String, SyndicationLink, String) Attempts to parse an attribute extension using the specified SyndicationLink instance.
Protected methodStatic member TryParseAttribute(String, String, String, SyndicationPerson, String) Attempts to parse an attribute extension using the specified SyndicationPerson instance.
Protected methodStatic member TryParseContent Attempts to parse syndication item content using the specified SyndicationItem instance.
Protected methodStatic member TryParseElement(XmlReader, SyndicationCategory, String) Attempts to parse an element extension using the specified SyndicationCategory instance.
Protected methodStatic member TryParseElement(XmlReader, SyndicationFeed, String) Attempts to parse an element extension using the specified SyndicationFeed instance.
Protected methodStatic member TryParseElement(XmlReader, SyndicationItem, String) Attempts to parse an element extension using the specified SyndicationItem instance.
Protected methodStatic member TryParseElement(XmlReader, SyndicationLink, String) Attempts to parse an element extension using the specified SyndicationLink instance.
Protected methodStatic member TryParseElement(XmlReader, SyndicationPerson, String) Attempts to parse an element extension using the specified SyndicationPerson instance.
Protected methodStatic member WriteAttributeExtensions(XmlWriter, SyndicationCategory, String) Writes the attribute extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteAttributeExtensions(XmlWriter, SyndicationFeed, String) Writes the attribute extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteAttributeExtensions(XmlWriter, SyndicationItem, String) Writes the attribute extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteAttributeExtensions(XmlWriter, SyndicationLink, String) Writes the attribute extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteAttributeExtensions(XmlWriter, SyndicationPerson, String) Writes the attribute extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteElementExtensions(XmlWriter, SyndicationCategory, String) Writes the element extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteElementExtensions(XmlWriter, SyndicationFeed, String) Writes the element extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteElementExtensions(XmlWriter, SyndicationItem, String) Writes the element extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteElementExtensions(XmlWriter, SyndicationLink, String) Writes the element extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.
Protected methodStatic member WriteElementExtensions(XmlWriter, SyndicationPerson, String) Writes the element extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.
Public method WriteTo Writes the SyndicationFeed to the specified XmlWriter instance.

Top

Remarks

This class is abstract and cannot be instantiated directly.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.