ResourceCollection ResourceCollection ResourceCollection ResourceCollection Class

Encapsulates one or more collections within a workspace.

Syntax

Declaration

public sealed class ResourceCollectionpublic sealed class ResourceCollectionPublic NotInheritable Class ResourceCollectionpublic sealed class ResourceCollection

Properties summary

Gets or sets the collection of app:accept elements.

Gets the list of attributes of the element.

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.

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

Gets the list of child elements within the element.

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.

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

Gets or sets the namespace of the element.

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

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

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 summary

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

Properties

  • Accepts
    Accepts
    Accepts
    Accepts

    Gets or sets the collection of app:accept elements.

    public IVectorView<string> Accepts { get; }public IVectorView<string> Accepts { get; }Public ReadOnly Property Accepts As IVectorView<string>public IVectorView<string> Accepts { get; }

    Property Value

    • The collection of accept elements.

  • AttributeExtensions
    AttributeExtensions
    AttributeExtensions
    AttributeExtensions

    Gets the list of attributes of the element.

    public IVector<SyndicationAttribute> AttributeExtensions { get; }public IVector<SyndicationAttribute> AttributeExtensions { get; }Public ReadOnly Property AttributeExtensions As IVector<SyndicationAttribute>public IVector<SyndicationAttribute> AttributeExtensions { get; }

    Property Value

    • 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 Uripublic Uri BaseUri { get; set; }

    Property Value

    • 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 IVectorView<SyndicationCategory> Categories { get; }Public ReadOnly Property Categories As IVectorView<SyndicationCategory>public IVectorView<SyndicationCategory> Categories { get; }

    Property Value

    • The collection of categories.

  • ElementExtensions
    ElementExtensions
    ElementExtensions
    ElementExtensions

    Gets the list of child elements within the element.

    public IVector<ISyndicationNode> ElementExtensions { get; }public IVector<ISyndicationNode> ElementExtensions { get; }Public ReadOnly Property ElementExtensions As IVector<ISyndicationNode>public IVector<ISyndicationNode> ElementExtensions { get; }

    Property Value

    • 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 string Language { get; set; }public string Language { get; set; }Public ReadWrite Property Language As stringpublic string Language { get; set; }

    Property Value

    • 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 string NodeName { get; set; }public string NodeName { get; set; }Public ReadWrite Property NodeName As stringpublic string NodeName { get; set; }

    Property Value

    • string
      string
      string
      string

      The name of the element.

  • NodeNamespace
    NodeNamespace
    NodeNamespace
    NodeNamespace

    Gets or sets the namespace of the element.

    public string NodeNamespace { get; set; }public string NodeNamespace { get; set; }Public ReadWrite Property NodeNamespace As stringpublic string NodeNamespace { get; set; }

    Property Value

    • 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 string NodeValue { get; set; }public string NodeValue { get; set; }Public ReadWrite Property NodeValue As stringpublic string NodeValue { get; set; }

    Property Value

    • 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 ISyndicationTextpublic ISyndicationText Title { get; }

    Property Value

  • 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 Uripublic Uri Uri { get; }

    Property Value

    • 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 XmlDocumentpublic XmlDocument GetXmlDocument(SyndicationFormat format)

    Parameters

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Web.AtomPub.dll