FileInformationFactory FileInformationFactory FileInformationFactory FileInformationFactory FileInformationFactory Class

Definition

Used to load information about files and folders from the results of a query and to bind these file system items to JavaScript ListView or XAML ListView and GridView controls. After information is loaded, an app can then access that information quickly using synchronous operations.

public : sealed class FileInformationFactory : IFileInformationFactory
struct winrt::Windows::Storage::BulkAccess::FileInformationFactory : IFileInformationFactory
public sealed class FileInformationFactory : IFileInformationFactory
Public NotInheritable Class FileInformationFactory Implements IFileInformationFactory
var fileInformationFactory = new fileInformationFactory(queryResult, mode);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

FileInformationFactory(IStorageQueryResultBase, ThumbnailMode) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode)

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

FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32) FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32)

Creates a new FileInformationFactory object that retrieves information about the StorageFile and StorageFolder objects in the specified query result and that specifies the requested size for thumbnails that are retrieved for the objects.

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

Creates a new FileInformationFactory object that retrieves information about the StorageFile and StorageFolder objects in the specified query result, and that specifies the requested size and options for thumbnails that are retrieved for the objects.

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

Creates a new FileInformationFactory object that retrieves information about the StorageFile and StorageFolder objects in the specified query result, specifies the requested size and options for thumbnails that are retrieved for the objects, and indicates whether to delay loading information.

Methods

GetFilesAsync() GetFilesAsync() GetFilesAsync() GetFilesAsync() GetFilesAsync()

Retrieves a collection of FileInformation objects that contain information about all StorageFile objects in a collection.

GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32)

Retrieves a collection of FileInformation objects that contain information about a range of StorageFile objects in a collection.

GetFoldersAsync() GetFoldersAsync() GetFoldersAsync() GetFoldersAsync() GetFoldersAsync()

Retrieves a collection of FolderInformation objects that contain information about all StorageFolder objects in a collection.

GetFoldersAsync(UInt32, UInt32) GetFoldersAsync(UInt32, UInt32) GetFoldersAsync(UInt32, UInt32) GetFoldersAsync(UInt32, UInt32) GetFoldersAsync(UInt32, UInt32)

Retrieves a collection of FolderInformation objects that contain information about a range of StorageFolder objects in a collection.

GetItemsAsync() GetItemsAsync() GetItemsAsync() GetItemsAsync() GetItemsAsync()

Retrieves a collection of IStorageItemInformation objects that contain information about all the items in the collection.

GetItemsAsync(UInt32, UInt32) GetItemsAsync(UInt32, UInt32) GetItemsAsync(UInt32, UInt32) GetItemsAsync(UInt32, UInt32) GetItemsAsync(UInt32, UInt32)

Retrieves a collection of IStorageItemInformation objects that contain information about a range of items in a collection.

GetVirtualizedFilesVector() GetVirtualizedFilesVector() GetVirtualizedFilesVector() GetVirtualizedFilesVector() GetVirtualizedFilesVector()

Gets a virtualized vector of IStorageItemInformation objects that can be bound to ListView or GridView controls in C#, C++, and VB.

GetVirtualizedFoldersVector() GetVirtualizedFoldersVector() GetVirtualizedFoldersVector() GetVirtualizedFoldersVector() GetVirtualizedFoldersVector()

Gets a virtualized vector of IStorageItemInformation objects that can be bound to ListView or GridView controls in C#, C++, and VB.

GetVirtualizedItemsVector() GetVirtualizedItemsVector() GetVirtualizedItemsVector() GetVirtualizedItemsVector() GetVirtualizedItemsVector()

Gets a virtualized vector of IStorageItemInformation objects that can be bound to ListView or GridView controls in C#, C++, and VB.