MediaPlaybackAudioTrackList.IndexOf(AudioTrack, 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 audio track in the list.
public:
virtual bool IndexOf(AudioTrack ^ value, [Out] unsigned int & index) = IVectorView<AudioTrack ^>::IndexOf;
bool IndexOf(AudioTrack const& value, [Out] uint32_t & index);
public bool IndexOf(AudioTrack value, out uint index);
Public Function IndexOf (value As AudioTrack, ByRef index As UInteger) As Boolean
Parameters
- value
- AudioTrack
The audio track to find in the vector view.
- index
-
UInt32
unsigned int
uint32_t
If the audio track is found, this is the zero-based index of the audio track; otherwise, this parameter is 0.
Returns
Boolean
bool
True if the audio 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@)