MediaPlaybackVideoTrackList.IndexOf(VideoTrack, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.IVectorView
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,uint32_t@)