Workspace Workspace Workspace Workspace Class

Encapsulates a workspace in a service document.

Syntax

Declaration

public sealed class Workspacepublic sealed class WorkspacePublic NotInheritable Class Workspacepublic sealed class Workspace

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 read-only collection of app:collection elements within the app:workspace 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 atom:title element under the app:workspace element.

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

    • The list of attributes.

  • 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.

  • Collections
    Collections
    Collections
    Collections

    Gets the read-only collection of app:collection elements within the app:workspace element.

    public IVectorView<ResourceCollection> Collections { get; }public IVectorView<ResourceCollection> Collections { get; }Public ReadOnly Property Collections As IVectorView<ResourceCollection>public IVectorView<ResourceCollection> Collections { get; }

    Property Value

    • The collection of collection elements.

  • 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 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 of the element.

  • Title
    Title
    Title
    Title

    Gets the atom:title element under the app:workspace element.

    public ISyndicationText Title { get; }public ISyndicationText Title { get; }Public ReadOnly Property Title As ISyndicationTextpublic ISyndicationText Title { get; }

    Property Value

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