CategoriesDocumentFormatter Class

 

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

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Syndication.CategoriesDocumentFormatter
    System.ServiceModel.Syndication.AtomPub10CategoriesDocumentFormatter

[DataContractAttribute]
public abstract class CategoriesDocumentFormatter

NameDescription
System_CAPS_protmethodCategoriesDocumentFormatter()

Creates a new instance of the CategoriesDocumentFormatter class.

System_CAPS_protmethodCategoriesDocumentFormatter(CategoriesDocument)

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

NameDescription
System_CAPS_pubpropertyDocument

Gets the categories document.

System_CAPS_pubpropertyVersion

Gets the syndication version used by the formatter.

NameDescription
System_CAPS_pubmethodCanRead(XmlReader)

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

System_CAPS_protmethodCreateInlineCategoriesDocument()

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.

System_CAPS_protmethodCreateReferencedCategoriesDocument()

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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodReadFrom(XmlReader)

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

System_CAPS_protmethodSetDocument(CategoriesDocument)

Specifies the CategoriesDocument to associate with the CategoriesDocumentFormatter.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteTo(XmlWriter)

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

This class is abstract and cannot be instantiated directly.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: