Share via


MediaPlaybackVideoTrackList.IndexOf(VideoTrack, UInt32) Method

Definition

Retrieves the index of a specified video track in the list.

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

Parameters

value
VideoTrack

The video track to find in the vector view.

index
UInt32

unsigned int

uint32_t

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

Returns

Boolean

bool

True if the video 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