MPMediaQuery.GetItem(UIntPtr) Method

Definition

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

Applies to