ResourceCollection ResourceCollection ResourceCollection ResourceCollection Class

Definition

Encapsulates one or more collections within a workspace.

public : sealed class ResourceCollection : IResourceCollection, ISyndicationNodepublic sealed class ResourceCollection : IResourceCollection, ISyndicationNodePublic NotInheritable Class ResourceCollection Implements IResourceCollection, ISyndicationNode// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Accepts Accepts Accepts Accepts

Gets or sets the collection of app:accept elements.

public : IVectorView<string> Accepts { get; }public IReadOnlyList<string> Accepts { get; }Public ReadOnly Property Accepts As IReadOnlyList<string>// You can use this property in JavaScript.
Value
IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>

The collection of accept elements.

AttributeExtensions AttributeExtensions AttributeExtensions AttributeExtensions

Gets the list of attributes of the element.

public : IVector<SyndicationAttribute> AttributeExtensions { get; }public IList<SyndicationAttribute> AttributeExtensions { get; }Public ReadOnly Property AttributeExtensions As IList<SyndicationAttribute>// You can use this property in JavaScript.
Value
IVector<SyndicationAttribute> IList<SyndicationAttribute> IList<SyndicationAttribute> IList<SyndicationAttribute>

The list of attributes.

BaseUri BaseUri BaseUri 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.

public : Uri BaseUri { get; set; }public Uri BaseUri { get; set; }Public ReadWrite Property BaseUri As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

The Uniform Resource Identifier (URI) for the element.

Categories Categories Categories Categories

Gets the collection of atom:category elements within the app:categories element.

public : IVectorView<SyndicationCategory> Categories { get; }public IReadOnlyList<SyndicationCategory> Categories { get; }Public ReadOnly Property Categories As IReadOnlyList<SyndicationCategory>// You can use this property in JavaScript.
Value
IVectorView<SyndicationCategory> IReadOnlyList<SyndicationCategory> IReadOnlyList<SyndicationCategory> IReadOnlyList<SyndicationCategory>

The collection of categories.

ElementExtensions ElementExtensions ElementExtensions ElementExtensions

Gets the list of child elements within the element.

public : IVector<ISyndicationNode> ElementExtensions { get; }public IList<ISyndicationNode> ElementExtensions { get; }Public ReadOnly Property ElementExtensions As IList<ISyndicationNode>// You can use this property in JavaScript.
Value
IVector<ISyndicationNode> IList<ISyndicationNode> IList<ISyndicationNode> IList<ISyndicationNode>

The list of child elements.

Language Language Language 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.

public : PlatForm::String Language { get; set; }public string Language { get; set; }Public ReadWrite Property Language As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The language of the element.

NodeName NodeName NodeName NodeName

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

public : PlatForm::String NodeName { get; set; }public string NodeName { get; set; }Public ReadWrite Property NodeName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name of the element.

NodeNamespace NodeNamespace NodeNamespace NodeNamespace

Gets or sets the namespace of the element.

public : PlatForm::String NodeNamespace { get; set; }public string NodeNamespace { get; set; }Public ReadWrite Property NodeNamespace As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The namespace name.

NodeValue NodeValue NodeValue NodeValue

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

public : PlatForm::String NodeValue { get; set; }public string NodeValue { get; set; }Public ReadWrite Property NodeValue As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The node value.

Title Title Title Title

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

public : ISyndicationText Title { get; }public ISyndicationText Title { get; }Public ReadOnly Property Title As ISyndicationText// You can use this property in JavaScript.
Value
ISyndicationText ISyndicationText ISyndicationText ISyndicationText

The collection of title elements.

Uri Uri Uri 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.

public : Uri Uri { get; }public Uri Uri { get; }Public ReadOnly Property Uri As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

The Uniform Resource Identifier (URI) of the resource collection.

Methods

GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat)

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

public : XmlDocument GetXmlDocument(SyndicationFormat format)public XmlDocument GetXmlDocument(SyndicationFormat format)Public Function GetXmlDocument(format As SyndicationFormat) As XmlDocument// You can use this method in JavaScript.
Parameters
format
SyndicationFormat SyndicationFormat SyndicationFormat SyndicationFormat

The format of the element. The only formats accepted by this method are Atom 1.0 and RSS 2.0.

Returns

See Also