Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaLibraryExtensions.GetPath Method

Gets the path of the specified Picture.

[ExtensionAttribute]
public static string GetPath (
         Picture picture
)

Parameters

picture
Type: Picture
The picture for which the path is returned.

Return Value

Type: String
The path to the picture.

Use the GetPath method to provide a value for the FilePath property of the ShareMediaTask when the user wants to share a picture.

Namespace: Microsoft.Xna.Framework.Media.PhoneExtensions
Assembly: Microsoft.Xna.Framework.Media.PhoneExtensions (in microsoft.xna.framework.media.phoneextensions.dll)

Windows Phone

Community Additions

Show:
© 2014 Microsoft