ContentLinkProviderCollection ContentLinkProviderCollection ContentLinkProviderCollection ContentLinkProviderCollection Class

Definition

Represents a collection of ContentLinkProvider objects that can be individually accessed by index.

public : sealed class ContentLinkProviderCollection
struct winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection
public sealed class ContentLinkProviderCollection
Public NotInheritable Class ContentLinkProviderCollection
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Constructors

ContentLinkProviderCollection() ContentLinkProviderCollection() ContentLinkProviderCollection() ContentLinkProviderCollection()

Initializes a new instance of the ContentLinkProviderCollection class.

Properties

Size Size Size Size

Gets the size (count) of the collection.

Methods

Append(ContentLinkProvider) Append(ContentLinkProvider) Append(ContentLinkProvider) Append(ContentLinkProvider)

Adds a new item to the collection.

Clear() Clear() Clear() Clear()

Removes all items from the collection.

First() First() First() First()

Returns an iterator for the items in the collection.

GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)

Returns the item located at the specified index.

GetMany(UInt32, ContentLinkProvider[]) GetMany(UInt32, ContentLinkProvider[]) GetMany(UInt32, ContentLinkProvider[]) GetMany(UInt32, ContentLinkProvider[])

Retrieves multiple elements in a single pass through the iterator.

GetView() GetView() GetView() GetView()

Gets an immutable view into the collection.

IndexOf(ContentLinkProvider, UInt32) IndexOf(ContentLinkProvider, UInt32) IndexOf(ContentLinkProvider, UInt32) IndexOf(ContentLinkProvider, UInt32)

Retrieves the index of the specified item.

InsertAt(UInt32, ContentLinkProvider) InsertAt(UInt32, ContentLinkProvider) InsertAt(UInt32, ContentLinkProvider) InsertAt(UInt32, ContentLinkProvider)

Inserts the specified item at the specified index.

RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32)

Removes the item at the specified index.

RemoveAtEnd() RemoveAtEnd() RemoveAtEnd() RemoveAtEnd()

Removes the last item in the collection.

ReplaceAll(ContentLinkProvider[]) ReplaceAll(ContentLinkProvider[]) ReplaceAll(ContentLinkProvider[]) ReplaceAll(ContentLinkProvider[])

Initially clears the collection, then inserts the provided array as new items.

SetAt(UInt32, ContentLinkProvider) SetAt(UInt32, ContentLinkProvider) SetAt(UInt32, ContentLinkProvider) SetAt(UInt32, ContentLinkProvider)

Sets the value at the specified index to the ContentLinkProvider value specified.