MPMediaQuery.GetItem(UIntPtr) 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.
Caution
Use the 'Items' array instead.
Returns the media item at the specified index.
public MediaPlayer.MPMediaItem GetItem(UIntPtr index);
[System.Obsolete("Use the 'Items' array instead.")]
public MediaPlayer.MPMediaItem GetItem(UIntPtr index);
member this.GetItem : unativeint -> MediaPlayer.MPMediaItem
[<System.Obsolete("Use the 'Items' array instead.")>]
member this.GetItem : unativeint -> MediaPlayer.MPMediaItem
Parameters
- index
-
UIntPtr
unativeint
The zero-based index of the item to retrieve.
Returns
The MPMediaItem at index.
- Attributes