Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Workspace class

Applies to Windows and Windows Phone

Encapsulates a workspace in a service document.

Syntax


var workspace = ServiceDocument.Workspaces;

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The Workspace class has these types of members:

Methods

The Workspace class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

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

 

Properties

The Workspace class has these properties.

PropertyAccess typeDescription

AttributeExtensions

Read-onlyGets the list of attributes of the element.

BaseUri

Read/writeGets 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

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

ElementExtensions

Read-onlyGets the list of child elements within the element.

Language

Read/writeGets 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

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

NodeNamespace

Read/writeGets or sets the namespace of the element.

NodeValue

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

Title

Read-onlyGets the atom:title element under the app:workspace element.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.AtomPub
Windows::Web::AtomPub [C++]

Metadata

Windows.winmd

See also

Quickstart: Managing Feed Entries
AtomPub sample

 

 

Show:
© 2014 Microsoft