Share via


SortEntryVector.IndexOf(SortEntry, UInt32) Method

Definition

Retrieves the index of a specified sort entry in the collection.

bool IndexOf(SortEntry const& value, [Out] uint32_t & index);
public bool IndexOf(SortEntry value, out uint index);
Public Function IndexOf (value As SortEntry, ByRef index As UInteger) As Boolean

Parameters

value
SortEntry

The sort entry to find in the collection.

index
UInt32

uint32_t

The zero-based index of the sort entry, if found. This parameter is set to zero if the sort entry is not found.

Returns

Boolean

bool

True if the sort entry is found; otherwise false.

Implements

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

Applies to