Share via


MediaPlaybackTimedMetadataTrackList.IndexOf Method

Definition

Retrieves the index of a specified timed metadata track in the list.

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

Parameters

value
TimedMetadataTrack

The timed metadata track to find in the vector view.

index
UInt32

unsigned int

uint32_t

If the timed metadata track is found, this is the zero-based index of the audio track; otherwise, this parameter is 0.

Returns

Boolean

bool

True if the timed metadata track is found; otherwise, false.

Implements

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

Applies to