Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ServiceDocument Class
Definition
- Namespace:
- Windows.Web.AtomPub
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates a service document.
public ref class ServiceDocument sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ServiceDocument final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ServiceDocument
Public NotInheritable Class ServiceDocument
- Inheritance
- Attributes
- Implements
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 (introduced in 10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
| Name | Description |
|---|---|
| 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. |
| 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. |
| Workspaces |
Gets the collection of app:workspace elements in the service document. |
Methods
| Name | Description |
|---|---|
| GetXmlDocument(SyndicationFormat) |
Generates the DOM object that represents this element, and all the attributes and child elements including foreign markups. |
Applies to
See also
Feedback
Was this page helpful?
