Udostępnij za pośrednictwem


ServiceDocument Class

Definition

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
Object Platform::Object IInspectable ServiceDocument
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.

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

GetXmlDocument(SyndicationFormat)

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

Applies to

See also