TransitionCollection.IndexOf(Transition, UInt32) Method

Definition

Retrieves the index of the specified item.

Equivalent WinUI method: Microsoft.UI.Xaml.Media.Animation.TransitionCollection.IndexOf.

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

Parameters

value
Transition

The value to find in the collection.

index
UInt32

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,uint32_t@)

Applies to