Delen via


Workspace Class

Definition

Encapsulates a workspace in a service document.

public ref class Workspace sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class Workspace final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class Workspace
Public NotInheritable Class Workspace
Inheritance
Object Platform::Object IInspectable Workspace
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

AttributeExtensions

Gets the list of attributes of the element.

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.

Collections

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

ElementExtensions

Gets the list of child elements within the element.

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.

NodeName

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

NodeNamespace

Gets or sets the namespace of the element.

NodeValue

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

Title

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

Methods

GetXmlDocument(SyndicationFormat)

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

Applies to

See also