AtomPub10CategoriesDocumentFormatter Class

Definition

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

C#
public class AtomPub10CategoriesDocumentFormatter : System.ServiceModel.Syndication.CategoriesDocumentFormatter, System.Xml.Serialization.IXmlSerializable
Inheritance
AtomPub10CategoriesDocumentFormatter
Implements

Constructors

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

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)