FileInformationFactory 클래스

정의

쿼리 결과에서 파일 및 폴더에 대한 정보를 로드하고 이러한 파일 시스템 항목을 JavaScript ListView 또는 XAML ListViewGridView 컨트롤에 바인딩하는 데 사용됩니다. 정보가 로드되면 앱은 동기 작업을 사용하여 해당 정보에 빠르게 액세스할 수 있습니다.

public ref class FileInformationFactory sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Storage.BulkAccess.IFileInformationFactoryFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FileInformationFactory final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Storage.BulkAccess.IFileInformationFactoryFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class FileInformationFactory final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Storage.BulkAccess.IFileInformationFactoryFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FileInformationFactory
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Storage.BulkAccess.IFileInformationFactoryFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class FileInformationFactory
function FileInformationFactory(queryResult, mode, requestedThumbnailSize, thumbnailOptions, delayLoad)
Public NotInheritable Class FileInformationFactory
상속
Object Platform::Object IInspectable FileInformationFactory
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

생성자

FileInformationFactory(IStorageQueryResultBase, ThumbnailMode)

지정된 쿼리 결과에서 StorageFileStorageFolder 개체에 대한 정보를 검색하는 새 FileInformationFactory 개체를 만듭니다.

FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32)

지정된 쿼리 결과에서 StorageFileStorageFolder 개체에 대한 정보를 검색하고 개체에 대해 검색되는 썸네일의 요청된 크기를 지정하는 새 FileInformationFactory 개체를 만듭니다.

FileInformationFactory(IStorageQueryResultBase, ThumbnailMode, UInt32, ThumbnailOptions)

지정된 쿼리 결과에서 StorageFileStorageFolder 개체에 대한 정보를 검색하고 개체에 대해 검색되는 썸네일의 요청된 크기와 옵션을 지정하는 새 FileInformationFactory 개체를 만듭니다.

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

지정된 쿼리 결과에서 StorageFileStorageFolder 개체에 대한 정보를 검색하고, 개체에 대해 검색되는 썸네일의 요청된 크기와 옵션을 지정하고, 정보 로드를 지연할지 여부를 나타내는 새 FileInformationFactory 개체를 만듭니다.

메서드

GetFilesAsync()

컬렉션의 모든 StorageFile 개체에 대한 정보를 포함하는 FileInformation 개체의 컬렉션을 검색합니다.

GetFilesAsync(UInt32, UInt32)

컬렉션의 StorageFile 개체 범위에 대한 정보를 포함하는 FileInformation 개체의 컬렉션을 검색합니다.

GetFoldersAsync()

컬렉션의 모든 StorageFolder 개체에 대한 정보를 포함하는 FolderInformation 개체의 컬렉션을 검색합니다.

GetFoldersAsync(UInt32, UInt32)

컬렉션의 StorageFolder 개체 범위에 대한 정보를 포함하는 FolderInformation 개체의 컬렉션을 검색합니다.

GetItemsAsync()

컬렉션의 모든 항목에 대한 정보를 포함하는 IStorageItemInformation 개체의 컬렉션을 검색합니다.

GetItemsAsync(UInt32, UInt32)

컬렉션의 항목 범위에 대한 정보를 포함하는 IStorageItemInformation 개체의 컬렉션을 검색합니다.

GetVirtualizedFilesVector()

C#, C++및 VB의 ListView 또는 GridView 컨트롤에 바인딩할 수 있는 IStorageItemInformation 개체의 가상화된 벡터를 가져옵니다.

GetVirtualizedFoldersVector()

C#, C++및 VB의 ListView 또는 GridView 컨트롤에 바인딩할 수 있는 IStorageItemInformation 개체의 가상화된 벡터를 가져옵니다.

GetVirtualizedItemsVector()

C#, C++및 VB의 ListView 또는 GridView 컨트롤에 바인딩할 수 있는 IStorageItemInformation 개체의 가상화된 벡터를 가져옵니다.

적용 대상