FolderInformation.GetThumbnailAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetThumbnailAsync(ThumbnailMode) |
Retrieves the thumbnail that is associated with the StorageFolder. |
GetThumbnailAsync(ThumbnailMode, UInt32) |
Retrieves the thumbnail that is associated with the StorageFolder, scaling it to the specified size. |
GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions) |
Retrieves the thumbnail that is associated with the StorageFolder, based on the specified options. |
GetThumbnailAsync(ThumbnailMode)
Retrieves the thumbnail that is associated with the StorageFolder.
public:
virtual IAsyncOperation<StorageItemThumbnail ^> ^ GetThumbnailAsync(ThumbnailMode mode) = GetThumbnailAsync;
/// [Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultSizeDefaultOptions")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode const& mode);
[Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultSizeDefaultOptions")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode mode);
function getThumbnailAsync(mode)
Public Function GetThumbnailAsync (mode As ThumbnailMode) As IAsyncOperation(Of StorageItemThumbnail)
Parameters
- mode
- ThumbnailMode
The thumbnail mode to retrieve.
Returns
When this method completes successfully, it returns the thumbnail image as a StorageItemThumbnail object.
Implements
- Attributes
See also
Applies to
GetThumbnailAsync(ThumbnailMode, UInt32)
Retrieves the thumbnail that is associated with the StorageFolder, scaling it to the specified size.
public:
virtual IAsyncOperation<StorageItemThumbnail ^> ^ GetThumbnailAsync(ThumbnailMode mode, unsigned int requestedSize) = GetThumbnailAsync;
/// [Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultOptions")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode const& mode, uint32_t const& requestedSize);
[Windows.Foundation.Metadata.Overload("GetThumbnailAsyncOverloadDefaultOptions")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode mode, uint requestedSize);
function getThumbnailAsync(mode, requestedSize)
Public Function GetThumbnailAsync (mode As ThumbnailMode, requestedSize As UInteger) As IAsyncOperation(Of StorageItemThumbnail)
Parameters
- mode
- ThumbnailMode
The thumbnail mode to retrieve.
- requestedSize
-
UInt32
unsigned int
uint32_t
The requested size in pixels of thumbnail to retrieve.
Returns
When this method completes successfully, it returns the thumbnail image as a StorageItemThumbnail object.
Implements
- Attributes
See also
Applies to
GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions)
Retrieves the thumbnail that is associated with the StorageFolder, based on the specified options.
public:
virtual IAsyncOperation<StorageItemThumbnail ^> ^ GetThumbnailAsync(ThumbnailMode mode, unsigned int requestedSize, ThumbnailOptions options) = GetThumbnailAsync;
/// [Windows.Foundation.Metadata.Overload("GetThumbnailAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode const& mode, uint32_t const& requestedSize, ThumbnailOptions const& options);
[Windows.Foundation.Metadata.Overload("GetThumbnailAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageItemThumbnail> GetThumbnailAsync(ThumbnailMode mode, uint requestedSize, ThumbnailOptions options);
function getThumbnailAsync(mode, requestedSize, options)
Public Function GetThumbnailAsync (mode As ThumbnailMode, requestedSize As UInteger, options As ThumbnailOptions) As IAsyncOperation(Of StorageItemThumbnail)
Parameters
- mode
- ThumbnailMode
The thumbnail mode to retrieve.
- requestedSize
-
UInt32
unsigned int
uint32_t
The requested size in pixels of thumbnail to retrieve.
- options
- ThumbnailOptions
The thumbnail retrieval options.
Returns
When this method completes successfully, it returns the thumbnail image as a StorageItemThumbnail object.
Implements
- Attributes