MPMediaQuery.GetCollection(UIntPtr) Method

Definition

Caution

Use the 'Collections' array instead.

Returns the media item collection at the specified index.

public MediaPlayer.MPMediaItemCollection GetCollection(UIntPtr index);
[System.Obsolete("Use the 'Collections' array instead.")]
public MediaPlayer.MPMediaItemCollection GetCollection(UIntPtr index);
member this.GetCollection : unativeint -> MediaPlayer.MPMediaItemCollection
[<System.Obsolete("Use the 'Collections' array instead.")>]
member this.GetCollection : unativeint -> MediaPlayer.MPMediaItemCollection

Parameters

index
UIntPtr

unativeint

The zero-based index of the collection to retrieve.

Returns

The MPMediaItemCollection at index.

Attributes

Applies to