Share via

ShareMediaTask.FilePath Property

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

Gets or sets the path to the media item to be shared.

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


Public Property FilePath As String
public string FilePath { get; set; }
<object FilePath="string" .../>

Property Value

Type: System..::.String
StringThe path to the media item to be shared.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also


ShareMediaTask Class

Microsoft.Phone.Tasks Namespace