CategoriesDocumentFormatter CategoriesDocumentFormatter CategoriesDocumentFormatter CategoriesDocumentFormatter Class

Definition

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

public ref class CategoriesDocumentFormatter abstract
[System.Runtime.Serialization.DataContract]
public abstract class CategoriesDocumentFormatter
type CategoriesDocumentFormatter = class
Public MustInherit Class CategoriesDocumentFormatter
Inheritance
CategoriesDocumentFormatterCategoriesDocumentFormatterCategoriesDocumentFormatterCategoriesDocumentFormatter
Derived
Attributes

Remarks

This class is abstract and cannot be instantiated directly.

Constructors

CategoriesDocumentFormatter() CategoriesDocumentFormatter() CategoriesDocumentFormatter() CategoriesDocumentFormatter()

Creates a new instance of the CategoriesDocumentFormatter class.

CategoriesDocumentFormatter(CategoriesDocument) CategoriesDocumentFormatter(CategoriesDocument) CategoriesDocumentFormatter(CategoriesDocument) CategoriesDocumentFormatter(CategoriesDocument)

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

Properties

Document Document Document Document

Gets the categories document.

Version Version Version Version

Gets the syndication version used by the formatter.

Methods

CanRead(XmlReader) CanRead(XmlReader) CanRead(XmlReader) CanRead(XmlReader)

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

CreateInlineCategoriesDocument() CreateInlineCategoriesDocument() CreateInlineCategoriesDocument() 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() CreateReferencedCategoriesDocument() CreateReferencedCategoriesDocument() 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) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadFrom(XmlReader) ReadFrom(XmlReader) ReadFrom(XmlReader) ReadFrom(XmlReader)

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

SetDocument(CategoriesDocument) SetDocument(CategoriesDocument) SetDocument(CategoriesDocument) SetDocument(CategoriesDocument)

Specifies the CategoriesDocument to associate with the CategoriesDocumentFormatter.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteTo(XmlWriter) WriteTo(XmlWriter) WriteTo(XmlWriter) WriteTo(XmlWriter)

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

Applies to