FileInformationFactory.FileInformationFactory(IStorageQueryResultBase, ThumbnailMode) constructor

Applies to Windows only

Creates a new FileInformationFactory object that retrieves information about the StorageFile and StorageFolder objects in the specified query result.

Syntax

Public Sub New (
  queryResult As IStorageQueryResultBase,  
  mode As ThumbnailMode 
)

Parameters

queryResult

Type: IStorageQueryResultBase

The result of a query of files and folders on the system.

To learn about query result objects, see StorageFileQueryResult, StorageFolderQueryResult, and StorageItemQueryResult.

mode

Type: ThumbnailMode

A value that indicates the type of thumbnail view to retrieve for the StorageFile and StorageFolder.

Remarks

If the query specified SetThumbnailPrefetch options, those options are overridden by the requested mode.

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

FileInformationFactory
FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32)
FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32, ThumbnailOptions)
FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32, ThumbnailOptions, Boolean)

 

 

Show:
© 2014 Microsoft