MediaPlaybackList.MoveTo(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.
Changes the current item of the MediaPlaybackList to the item with the specified index.
public:
virtual MediaPlaybackItem ^ MoveTo(unsigned int itemIndex) = MoveTo;
MediaPlaybackItem MoveTo(uint32_t const& itemIndex);
public MediaPlaybackItem MoveTo(uint itemIndex);
function moveTo(itemIndex)
Public Function MoveTo (itemIndex As UInteger) As MediaPlaybackItem
Parameters
- itemIndex
-
UInt32
unsigned int
uint32_t
The index of the item to make current.
Returns
The new current MediaPlaybackItem.
Remarks
This current item of the MediaPlaybackList can't be changed while a MediaPlaybackItem with CanSkip set to false is playing. Attempting to do so will cause an exception to be thrown.