Modifica

Condividi tramite


SyndicationItemFormatter Class

Definition

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

public ref class SyndicationItemFormatter abstract
[System.Runtime.Serialization.DataContract]
public abstract class SyndicationItemFormatter
[<System.Runtime.Serialization.DataContract>]
type SyndicationItemFormatter = class
Public MustInherit Class SyndicationItemFormatter
Inheritance
SyndicationItemFormatter
Derived
Attributes

Remarks

This class is abstract and cannot be instantiated directly.

Constructors

SyndicationItemFormatter()

Creates a new instance of the SyndicationItemFormatter class.

SyndicationItemFormatter(SyndicationItem)

Creates a new instance of the SyndicationItemFormatter class with the specified SyndicationItem instance.

Properties

Item

Gets the SyndicationItem associated with the formatter.

Version

Gets the syndication version of the formatter.

Methods

CanRead(XmlReader)

Verifies whether the specified XmlReader contains a valid syndication item.

CreateCategory(SyndicationItem)

Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.

CreateItemInstance()

Creates a new instance of the SyndicationItem class.

CreateLink(SyndicationItem)

Creates a new instance of the SyndicationLink class.

CreatePerson(SyndicationItem)

Creates a new SyndicationPerson instance with the specified SyndicationItem instance.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadElementExtensions(XmlReader, SyndicationCategory, Int32)

Loads element extensions into the specified SyndicationCategory using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationItem, Int32)

Loads element extensions into the specified SyndicationItem using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationLink, Int32)

Loads element extensions into the specified SyndicationLink using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationPerson, Int32)

Loads element extensions into the specified SyndicationPerson using the specified XmlReader and maximum extension size.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadFrom(XmlReader)

Reads in a SyndicationItem from the specified XmlReader.

SetItem(SyndicationItem)

Associates a SyndicationItem instance with the SyndicationItemFormatter.

ToString()

Gets a string representation of the SyndicationItemFormatter instance.

TryParseAttribute(String, String, String, SyndicationCategory, String)

Attempts to parse an attribute extension using the specified SyndicationCategory instance.

TryParseAttribute(String, String, String, SyndicationItem, String)

Attempts to parse an attribute extension using the specified SyndicationItem instance.

TryParseAttribute(String, String, String, SyndicationLink, String)

Attempts to parse an attribute extension using the specified SyndicationLink instance.

TryParseAttribute(String, String, String, SyndicationPerson, String)

Attempts to parse an attribute extension using the specified SyndicationPerson instance.

TryParseContent(XmlReader, SyndicationItem, String, String, SyndicationContent)

Attempts to parse syndication item content using the specified SyndicationItem instance.

TryParseElement(XmlReader, SyndicationCategory, String)

Attempts to parse an element extension using the specified SyndicationCategory instance.

TryParseElement(XmlReader, SyndicationItem, String)

Attempts to parse an element extension using the specified SyndicationItem instance.

TryParseElement(XmlReader, SyndicationLink, String)

Attempts to parse an element extension using the specified SyndicationLink instance.

TryParseElement(XmlReader, SyndicationPerson, String)

Attempts to parse an element extension using the specified SyndicationPerson instance.

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

Writes the attribute extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

Writes the attribute extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationLink, String)

Writes the attribute extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

Writes the attribute extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

Writes the element extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationItem, String)

Writes the element extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationLink, String)

Writes the element extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

Writes the element extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

WriteTo(XmlWriter)

Writes the SyndicationItem to the specified XmlWriter instance.

Applies to