FileInformation.GetThumbnailAsync(ThumbnailMode) | getThumbnailAsync(ThumbnailMode) method

Applies to Windows only

Retrieves the thumbnail that is associated with the StorageFile.

Syntax


fileInformation.getThumbnailAsync(mode).done( /* Your success and error handlers */ );

Parameters

mode

Type: ThumbnailMode

The thumbnail mode to retrieve.

Return value

Type: IAsyncOperation<StorageItemThumbnail>

When this method completes successfully, it returns the thumbnail image as a StorageItemThumbnail object.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Storage.BulkAccess
Windows::Storage::BulkAccess [C++]

Metadata

Windows.winmd

See also

FileInformation
GetThumbnailAsync(ThumbnailMode, UInt32)
GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions)

 

 

Show:
© 2014 Microsoft