Service​Document Service​Document Service​Document Class

Definition

Encapsulates a service document.

public : sealed class ServiceDocument : IServiceDocument, ISyndicationNodepublic sealed class ServiceDocument : IServiceDocument, ISyndicationNodePublic NotInheritable Class ServiceDocument Implements IServiceDocument, ISyndicationNode
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

AttributeExtensions AttributeExtensions AttributeExtensions

Gets the list of attributes of the element.

public : IVector<SyndicationAttribute> AttributeExtensions { get; }public IList<SyndicationAttribute> AttributeExtensions { get; }Public ReadOnly Property AttributeExtensions As IList<SyndicationAttribute>
Value
IVector<SyndicationAttribute> IList<SyndicationAttribute> IList<SyndicationAttribute>

A list of attributes of the element.

Attributes

BaseUri BaseUri BaseUri

Gets or sets the Uniform Resource Identifier (URI) for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element.

public : Uri BaseUri { get; set; }public Uri BaseUri { get; set; }Public ReadWrite Property BaseUri As Uri
Value
Uri Uri Uri

The base Uniform Resource Identifier (URI) for the element.

Attributes

ElementExtensions ElementExtensions ElementExtensions

Gets the list of child elements within the element.

public : IVector<ISyndicationNode> ElementExtensions { get; }public IList<ISyndicationNode> ElementExtensions { get; }Public ReadOnly Property ElementExtensions As IList<ISyndicationNode>
Value
IVector<ISyndicationNode> IList<ISyndicationNode> IList<ISyndicationNode>

The list of child elements.

Attributes

Language Language Language

Gets or sets the language of the element. This property represents the xml:lang attribute on the element. It may be inherited from an ancestor element. It must be valid according to XML 1.0.

public : PlatForm::String Language { get; set; }public string Language { get; set; }Public ReadWrite Property Language As string
Value
PlatForm::String string string

The language of the element.

Attributes

NodeName NodeName NodeName

Gets or sets the local name of the element. It must be valid according to XML 1.0.

public : PlatForm::String NodeName { get; set; }public string NodeName { get; set; }Public ReadWrite Property NodeName As string
Value
PlatForm::String string string

The local name of the element.

Attributes

NodeNamespace NodeNamespace NodeNamespace

Gets or sets the namespace of the element.

public : PlatForm::String NodeNamespace { get; set; }public string NodeNamespace { get; set; }Public ReadWrite Property NodeNamespace As string
Value
PlatForm::String string string

The namespace of the element.

Attributes

NodeValue NodeValue NodeValue

Gets or sets the text content of the element. If the element contains only child elements, this attribute is NULL.

public : PlatForm::String NodeValue { get; set; }public string NodeValue { get; set; }Public ReadWrite Property NodeValue As string
Value
PlatForm::String string string

The text for the element.

Attributes

Workspaces Workspaces Workspaces

Gets the collection of app:workspace elements in the service document.

public : IVectorView<Workspace> Workspaces { get; }public IReadOnlyList<Workspace> Workspaces { get; }Public ReadOnly Property Workspaces As IReadOnlyList<Workspace>
Value
IVectorView<Workspace> IReadOnlyList<Workspace> IReadOnlyList<Workspace>

The collection of workspace elements.

Attributes

Methods

GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat)

Generates the DOM object that represents this element, and all the attributes and child elements including foreign markups.

public : XmlDocument GetXmlDocument(SyndicationFormat format)public XmlDocument GetXmlDocument(SyndicationFormat format)Public Function GetXmlDocument(format As SyndicationFormat) As XmlDocument
Parameters
format
SyndicationFormat SyndicationFormat SyndicationFormat

The format of the element. The only formats accepted by this method are Atom 1.0 and RSS 2.0.

Returns

The XML document.

Attributes

See Also