Uredi

Deli z drugimi prek


ServiceDocument Class

Definition

Represents a service document.

public ref class ServiceDocument
public class ServiceDocument
type ServiceDocument = class
Public Class ServiceDocument
Inheritance
ServiceDocument

Remarks

A service document is a document retrieved from a service that indicates the capabilities and locations of the available collections. A service document may contain one or more workspaces. Each workspace may contain one or more collections.

Constructors

ServiceDocument()

Creates a new instance of the ServiceDocument class.

ServiceDocument(IEnumerable<Workspace>)

Creates a new instance of the ServiceDocument class, initializing it with the specified collection of Workspace instances.

Properties

AttributeExtensions

Gets a collection of attribute extensions.

BaseUri

Gets or sets the base URI for the ServiceDocument instance.

ElementExtensions

Gets the element extensions for the service document.

Language

Gets or sets the language of the service document.

Workspaces

Gets a collection of workspaces contained within the service document.

Methods

CreateWorkspace()

Creates a new Workspace instance.

Equals(Object)

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

(Inherited from Object)
GetFormatter()

Gets a AtomPub10ServiceDocumentFormatter instance.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Load(XmlReader)

Loads a service document from the specified XmlReader into a ServiceDocument instance.

Load<TServiceDocument>(XmlReader)

Loads a service document from the specified XmlReader into a ServiceDocument derived instance.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save(XmlWriter)

Saves the ServiceDocument instance to the specified XmlReader.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryParseAttribute(String, String, String, String)

Attempts to parse an attribute extension.

TryParseElement(XmlReader, String)

Attempts to parse an element extension.

WriteAttributeExtensions(XmlWriter, String)

Writes the attribute extensions to the specified XmlWriter using the specified syndication version.

WriteElementExtensions(XmlWriter, String)

Writes the element extensions to the specified XmlWriter using the specified syndication version.

Applies to