Delen via


ResourceCollection Class

Definition

Encapsulates one or more collections within a workspace.

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

Windows requirements

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

Properties

Accepts

Gets or sets the collection of app:accept elements.

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.

Categories

Gets the collection of atom:category elements within the app:categories 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:collection element.

Uri

Gets the Uniform Resource Identifier (URI) representing the href attribute of the app:collection element. This is the absolute Uniform Resource Identifier (URI) resolved against the xml:base attribute when it is present. If the href attribute is a relative Uniform Resource Identifier (URI) string and there is no xml:base attribute, this property will be Null.

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