Jaa


ContentLinkProviderCollection.IndexOf(ContentLinkProvider, UInt32) Method

Definition

Retrieves the index of the specified item.

public:
 virtual bool IndexOf(ContentLinkProvider ^ value, [Out] unsigned int & index) = IVector<ContentLinkProvider ^>::IndexOf;
bool IndexOf(ContentLinkProvider const& value, [Out] uint32_t & index);
public bool IndexOf(ContentLinkProvider value, out uint index);
Public Function IndexOf (value As ContentLinkProvider, ByRef index As UInteger) As Boolean

Parameters

value
ContentLinkProvider

The value to find in the collection.

index
UInt32

unsigned int

uint32_t

The index of the item to find, if found.

Returns

Boolean

bool

true if an item with the specified value was found; otherwise, false.

Implements

M:Windows.Foundation.Collections.IVector1.IndexOf(0,System.UInt32@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,unsigned int@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,uint32_t@)

Remarks

Important

This API supports content links. The Windows features that enable content links are not available in versions of Windows after Windows 10 version 1903. Content links for XAML text controls will not function in versions of Windows later than version 1903.

Applies to