MediaPlaybackItem.FindFromMediaSource(MediaSource) 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.
Retrieves the MediaPlaybackItem associated with the provided MediaSource.
public:
static MediaPlaybackItem ^ FindFromMediaSource(MediaSource ^ source);
static MediaPlaybackItem FindFromMediaSource(MediaSource const& source);
public static MediaPlaybackItem FindFromMediaSource(MediaSource source);
function findFromMediaSource(source)
Public Shared Function FindFromMediaSource (source As MediaSource) As MediaPlaybackItem
Parameters
- source
- MediaSource
The MediaSource associated with the MediaPlaybackItem.
Returns
The MediaPlaybackItem associated with the provided MediaSource.
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|