MPMediaQuery.GetCollection(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 '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