Skip to main content
FolderInformation.GetThumbnailAsync(ThumbnailMode) | getThumbnailAsync(ThumbnailMode) method

Retrieves the thumbnail that is associated with the StorageFolder.

Syntax


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

public IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(
  ThumbnailMode mode
)

Public Function GetThumbnailAsync(
  mode As ThumbnailMode 
) As IAsyncOperation(Of StorageItemThumbnail)

public:
IAsyncOperation<StorageItemThumbnail>^ GetThumbnailAsync(
  ThumbnailMode mode
)

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 ( device family)

Device family

Desktop

API contract

Windows.Storage.BulkAccess.BulkAccessContract, introduced version 1.0

Namespace

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

Metadata

Windows.Storage.BulkAccess.BulkAccessContract.winmd

Requirements (operating system)

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

FolderInformation
GetThumbnailAsync(ThumbnailMode, UInt32)
GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions)