This topic has not yet been rated - Rate this topic

SyndicationItemFormatter Class

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

System.Object
  System.ServiceModel.Syndication.SyndicationItemFormatter
    System.ServiceModel.Syndication.Atom10ItemFormatter
    System.ServiceModel.Syndication.Rss20ItemFormatter

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
[DataContractAttribute]
public abstract class SyndicationItemFormatter

The SyndicationItemFormatter type exposes the following members.

  Name Description
Protected method SyndicationItemFormatter() Creates a new instance of the SyndicationItemFormatter class.
Protected method SyndicationItemFormatter(SyndicationItem) Creates a new instance of the SyndicationItemFormatter class with the specified SyndicationItem instance.
Top
  Name Description
Public property Item Gets the SyndicationItem associated with the formatter.
Public property Version Gets the syndication version of the formatter.
Top
  Name Description
Public method CanRead Verifies whether the specified XmlReader contains a valid syndication item.
Protected method Static member CreateCategory Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.
Protected method CreateItemInstance Creates a new instance of the SyndicationItem class.
Protected method Static member CreateLink Creates a new instance of the SyndicationLink class.
Protected method Static member CreatePerson 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 it 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 method Static member LoadElementExtensions(XmlReader, SyndicationCategory, Int32) Loads element extensions into the specified SyndicationCategory using the specified XmlReader and maximum extension size.
Protected method Static member LoadElementExtensions(XmlReader, SyndicationItem, Int32) Loads element extensions into the specified SyndicationItem using the specified XmlReader and maximum extension size.
Protected method Static member LoadElementExtensions(XmlReader, SyndicationLink, Int32) Loads element extensions into the specified SyndicationLink using the specified XmlReader and maximum extension size.
Protected method Static member LoadElementExtensions(XmlReader, SyndicationPerson, Int32) Loads element extensions into the specified SyndicationPerson using the specified XmlReader and maximum extension size.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadFrom Reads in a SyndicationItem from the specified XmlReader.
Protected method SetItem Associates a SyndicationItem instance with the SyndicationItemFormatter.
Public method ToString Gets a string representation of the SyndicationItemFormatter instance. (Overrides Object.ToString().)
Protected method Static member TryParseAttribute(String, String, String, SyndicationCategory, String) Attempts to parse an attribute extension using the specified SyndicationCategory instance.
Protected method Static member TryParseAttribute(String, String, String, SyndicationItem, String) Attempts to parse an attribute extension using the specified SyndicationItem instance.
Protected method Static member TryParseAttribute(String, String, String, SyndicationLink, String) Attempts to parse an attribute extension using the specified SyndicationLink instance.
Protected method Static member TryParseAttribute(String, String, String, SyndicationPerson, String) Attempts to parse an attribute extension using the specified SyndicationPerson instance.
Protected method Static member TryParseContent Attempts to parse syndication item content using the specified SyndicationItem instance.
Protected method Static member TryParseElement(XmlReader, SyndicationCategory, String) Attempts to parse an element extension using the specified SyndicationCategory instance.
Protected method Static member TryParseElement(XmlReader, SyndicationItem, String) Attempts to parse an element extension using the specified SyndicationItem instance.
Protected method Static member TryParseElement(XmlReader, SyndicationLink, String) Attempts to parse an element extension using the specified SyndicationLink instance.
Protected method Static member TryParseElement(XmlReader, SyndicationPerson, String) Attempts to parse an element extension using the specified SyndicationPerson instance.
Protected method Static member WriteAttributeExtensions(XmlWriter, SyndicationCategory, String) Writes the attribute extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.
Protected method Static member WriteAttributeExtensions(XmlWriter, SyndicationItem, String) Writes the attribute extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.
Protected method Static member WriteAttributeExtensions(XmlWriter, SyndicationLink, String) Writes the attribute extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.
Protected method Static member WriteAttributeExtensions(XmlWriter, SyndicationPerson, String) Writes the attribute extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.
Protected method WriteElementExtensions(XmlWriter, SyndicationCategory, String) Writes the element extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.
Protected method Static member WriteElementExtensions(XmlWriter, SyndicationItem, String) Writes the element extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.
Protected method WriteElementExtensions(XmlWriter, SyndicationLink, String) Writes the element extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.
Protected method 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 SyndicationItem to the specified XmlWriter instance.
Top

This class is abstract and cannot be instantiated directly.

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ