CategoriesDocumentFormatter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[<System.Runtime.Serialization.DataContract>]
type CategoriesDocumentFormatter = class
Public MustInherit Class CategoriesDocumentFormatter
- Inheritance
-
CategoriesDocumentFormatter
- Derived
- Attributes
Remarks
This class is abstract and cannot be instantiated directly.
Constructors
CategoriesDocumentFormatter() |
Creates a new instance of the CategoriesDocumentFormatter class. |
CategoriesDocumentFormatter(CategoriesDocument) |
Creates a new instance of the CategoriesDocumentFormatter class with the specified CategoriesDocument. |
Properties
Document |
Gets the categories document. |
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 < |
CreateReferencedCategoriesDocument() |
Creates a ReferencedCategoriesDocument that can be serialized into a < |
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 < |
SetDocument(CategoriesDocument) |
Specifies the CategoriesDocument to associate with the CategoriesDocumentFormatter. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
WriteTo(XmlWriter) |
Writes the CategoriesDocument associated with the CategoriesDocumentFormatter to the specified XmlWriter. |