MediaLibrary.GetPictureFromToken Method
Retrieves a picture from the device's media library based on a picture token.
Syntax
'Declaration
Public Function GetPictureFromToken ( _
token As String _
) As Picture
public Picture GetPictureFromToken (
string token
)
public:
Picture GetPictureFromToken(
String token
)
Parameters
- token
Type: String
The picture token. This cannot be null
Return Value
Type: Picture
The Picture object that matches the supplied picture token.
Requirements
Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Concepts
Media Overview
Accessing Pictures from a Picture Album
Reference
MediaLibrary Class
MediaLibrary Members
Microsoft.Xna.Framework.Media Namespace
Platforms
Windows Phone