Rediger

Del via


AtomPub10CategoriesDocumentFormatter Class

Definition

A class that serializes a CategoriesDocument instance to and from Atom 1.0 format.

public ref class AtomPub10CategoriesDocumentFormatter : System::ServiceModel::Syndication::CategoriesDocumentFormatter, System::Xml::Serialization::IXmlSerializable
public class AtomPub10CategoriesDocumentFormatter : System.ServiceModel.Syndication.CategoriesDocumentFormatter, System.Xml.Serialization.IXmlSerializable
type AtomPub10CategoriesDocumentFormatter = class
    inherit CategoriesDocumentFormatter
    interface IXmlSerializable
Public Class AtomPub10CategoriesDocumentFormatter
Inherits CategoriesDocumentFormatter
Implements IXmlSerializable
Inheritance
AtomPub10CategoriesDocumentFormatter
Implements

Constructors

AtomPub10CategoriesDocumentFormatter()

Creates a new instance of the AtomPub10CategoriesDocumentFormatter class.

AtomPub10CategoriesDocumentFormatter(CategoriesDocument)

Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified CategoriesDocument.

AtomPub10CategoriesDocumentFormatter(Type, Type)

Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified CategoriesDocument.

Properties

Document

Gets the categories document.

(Inherited from CategoriesDocumentFormatter)
Version

Gets the syndication version used by the formatter.

Methods

CanRead(XmlReader)

Verifies whether the specified XmlReader contains a valid Atom 1.0 categories document.

CreateInlineCategoriesDocument()

Creates a InlineCategoriesDocument that can be serialized into a <atom:categories> element within a service document and contains the set of categories within the element.

CreateReferencedCategoriesDocument()

Creates a ReferencedCategoriesDocument that can be serialized into a <atom:categories> element within a service document and contains a URI reference to the set of categories within the element.

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadFrom(XmlReader)

Reads an Atom 1.0 <atom:categories> element from the specified XmlReader instance.

SetDocument(CategoriesDocument)

Specifies the CategoriesDocument to associate with the CategoriesDocumentFormatter.

(Inherited from CategoriesDocumentFormatter)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteTo(XmlWriter)

Writes the CategoriesDocument associated with the AtomPub10CategoriesDocumentFormatter to the specified XmlWriter.

Explicit Interface Implementations

IXmlSerializable.GetSchema()

Implements the GetSchema() method.

IXmlSerializable.ReadXml(XmlReader)

Implements the ReadXml(XmlReader) method.

IXmlSerializable.WriteXml(XmlWriter)

Implements the WriteXml(XmlWriter) method.

Applies to