MediaPlayerLauncher.Location Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the location of the media file to be played. The MediaLocationType enumeration is used to specify either isolated storage or the application’s installation folder.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property Location As MediaLocationType
public MediaLocationType Location { get; set; }
<object Location="MediaLocationType" .../>

Property Value

Type: Microsoft.Phone.Tasks..::.MediaLocationType
Type: MediaLocationType.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

MediaPlayerLauncher Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the Media Player launcher for Windows Phone 8