ServiceDocument ServiceDocument ServiceDocument ServiceDocument Class

Encapsulates a service document.

Syntax

Declaration

public sealed class ServiceDocumentpublic sealed class ServiceDocumentPublic NotInheritable Class ServiceDocumentpublic sealed class ServiceDocument

Properties summary

Gets the list of attributes of the element.

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.

Gets the list of child elements within the element.

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.

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

Gets or sets the namespace of the element.

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

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

Methods summary

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

Properties

  • AttributeExtensions
    AttributeExtensions
    AttributeExtensions
    AttributeExtensions

    Gets the list of attributes of the element.

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

    Property Value

    • A list of attributes of the element.

  • BaseUri
    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 Uripublic Uri BaseUri { get; set; }

    Property Value

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

  • ElementExtensions
    ElementExtensions
    ElementExtensions
    ElementExtensions

    Gets the list of child elements within the element.

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

    Property Value

    • The list of child elements.

  • Language
    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 string Language { get; set; }public string Language { get; set; }Public ReadWrite Property Language As stringpublic string Language { get; set; }

    Property Value

    • string
      string
      string
      string

      The language of the element.

  • NodeName
    NodeName
    NodeName
    NodeName

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

    public string NodeName { get; set; }public string NodeName { get; set; }Public ReadWrite Property NodeName As stringpublic string NodeName { get; set; }

    Property Value

    • string
      string
      string
      string

      The local name of the element.

  • NodeNamespace
    NodeNamespace
    NodeNamespace
    NodeNamespace

    Gets or sets the namespace of the element.

    public string NodeNamespace { get; set; }public string NodeNamespace { get; set; }Public ReadWrite Property NodeNamespace As stringpublic string NodeNamespace { get; set; }

    Property Value

    • string
      string
      string
      string

      The namespace of the element.

  • NodeValue
    NodeValue
    NodeValue
    NodeValue

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

    public string NodeValue { get; set; }public string NodeValue { get; set; }Public ReadWrite Property NodeValue As stringpublic string NodeValue { get; set; }

    Property Value

    • string
      string
      string
      string

      The text for the element.

  • Workspaces
    Workspaces
    Workspaces
    Workspaces

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

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

    Property Value

    • The collection of workspace elements.

Methods

  • GetXmlDocument(SyndicationFormat)
    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 XmlDocumentpublic XmlDocument GetXmlDocument(SyndicationFormat format)

    Parameters

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Web.AtomPub.dll