Windows Dev Center

Package.GetThumbnailToken | getThumbnailToken method

Windows Phone only. Returns a token that can be used to retrieve the thumbnail image associated with this application package.

Syntax


var string = package.getThumbnailToken();

Parameters

This method has no parameters.

Return value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A token that can be used to retrieve the thumbnail image associated with this application package.

Remarks

Use the GetSharedFileName method passing the token returned by this method to retrieve the thumbnail image associated with this application package.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel
Windows::ApplicationModel [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel
Windows::ApplicationModel [C++]

Metadata

Windows.winmd

See also

Package

 

 

Show:
© 2015 Microsoft