FolderInformation 클래스

정의

StorageFolder에서 노출된 속성에 대한 동기 액세스를 제공하고 앱이 삭제 및 이름 바꾸기와 같은 비동기 관리 작업을 수행할 수 있도록 합니다.

public ref class FolderInformation sealed : IStorageItemInformation, IStorageFolder, IStorageFolder2, IStorageItem2, IStorageItemPropertiesWithProvider, IStorageFolderQueryOperations
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class FolderInformation final : IStorageItemInformation, IStorageFolder, IStorageFolder2, IStorageItem2, IStorageItemPropertiesWithProvider, IStorageFolderQueryOperations
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class FolderInformation : IStorageItemInformation, IStorageFolder, IStorageFolder2, IStorageItem2, IStorageItemPropertiesWithProvider, IStorageFolderQueryOperations
Public NotInheritable Class FolderInformation
Implements IStorageFolder, IStorageFolder2, IStorageFolderQueryOperations, IStorageItem2, IStorageItemInformation, IStorageItemPropertiesWithProvider
상속
Object Platform::Object IInspectable FolderInformation
특성
구현

Windows 요구 사항

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

설명

참고

로 특성화 marshalling_behavior(agile)되지는 않지만 이 클래스는 Agile로 처리할 수 있습니다. 자세한 내용은 스레딩 및 마샬링(C++/CX)을 참조하세요.

FileInformationFactory.GetFoldersAsync 메서드 중 하나를 호출하여 FolderInformation 개체 목록을 검색할 수 있습니다.

속성

Attributes

로드된 폴더의 특성을 가져옵니다.

BasicProperties

폴더의 기본 속성 정보를 포함하는 개체를 가져옵니다.

DateCreated

폴더가 만들어진 날짜를 가져옵니다.

DisplayName

StorageFolder의 사용자에게 친숙한 이름을 가져옵니다.

DisplayType

StorageFolder의 표시 형식을 가져옵니다.

DocumentProperties

StorageFolder의 문서 속성을 가져옵니다.

FolderRelativeId

동일한 폴더의 다른 항목을 기준으로 StorageFolder 를 고유하게 식별하는 식별자를 가져옵니다.

ImageProperties

StorageFolder의 이미지 속성을 가져옵니다.

MusicProperties

StorageFolder와 연결된 음악 속성을 가져옵니다.

Name

StorageFolder의 이름을 가져옵니다.

Path

StorageFolder의 경로를 가져옵니다.

Properties

StorageFolder의 속성을 검색하기 위한 개체를 가져옵니다.

Provider

현재 폴더를 저장하는 서비스에 대한 정보가 포함된 StorageProvider 개체를 가져옵니다.

Thumbnail

StorageFile의 축소판 그림을 가져옵니다.

VideoProperties

StorageFolder와 연결된 비디오 속성을 가져옵니다.

메서드

AreQueryOptionsSupported(QueryOptions)

폴더가 지정된 검색 쿼리 옵션을 지원하는지 여부를 나타내는 값을 검색합니다.

CreateFileAsync(String)

현재 폴더에 새 파일을 만듭니다.

CreateFileAsync(String, CreationCollisionOption)

현재 폴더에 새 파일을 만들고 이름이 같은 파일이 현재 폴더에 이미 있는 경우 수행할 작업을 지정합니다.

CreateFileQuery()

현재 폴더에서 StorageFile 에 대한 필터링된 검색 쿼리를 수행하기 위한 개체를 만듭니다.

CreateFileQuery(CommonFileQuery)

현재 폴더에서 StorageFile 개체에 대해 필터링된 검색 쿼리를 수행하기 위한 개체를 만듭니다. 검색 결과는 지정된 파일 특성에 따라 그룹화됩니다.

CreateFileQueryWithOptions(QueryOptions)

폴더에서 StorageFile 개체에 대해 필터링된 검색 쿼리를 수행하는 데 사용되는 개체를 만듭니다. 개체는 지정된 쿼리 옵션을 사용하여 초기화됩니다.

CreateFolderAsync(String)

현재 폴더의 새 자식 폴더를 만듭니다.

CreateFolderAsync(String, CreationCollisionOption)

현재 폴더의 새 자식 폴더를 만들고 이름이 같은 폴더가 현재 폴더에 이미 있는 경우 수행할 작업을 지정합니다.

CreateFolderQuery()

현재 폴더의 자식 StorageFolder 개체에 대해 필터링된 검색 쿼리를 수행하기 위한 개체를 만듭니다.

CreateFolderQuery(CommonFolderQuery)

현재 폴더의 자식 StorageFolder 개체에 대해 필터링된 검색 쿼리를 수행하기 위한 개체를 만듭니다. 검색 결과는 지정된 폴더 특성에 따라 그룹화됩니다.

CreateFolderQueryWithOptions(QueryOptions)

현재 폴더의 자식 StorageFolder 개체에 대해 필터링된 검색 쿼리를 수행하는 데 사용되는 개체를 만듭니다. 개체는 지정된 쿼리 옵션을 사용하여 초기화됩니다.

CreateItemQuery()

폴더의 항목에 대해 필터링된 검색 쿼리를 수행하는 데 사용되는 개체를 만듭니다.

CreateItemQueryWithOptions(QueryOptions)

폴더의 항목에 대해 필터링된 검색 쿼리를 수행하는 데 사용되는 개체를 만듭니다. 개체는 지정된 쿼리 옵션을 사용하여 초기화됩니다.

DeleteAsync()

현재 폴더를 삭제합니다.

DeleteAsync(StorageDeleteOption)

현재 폴더를 삭제하고 필요에 따라 삭제된 폴더를 휴지통으로 이동합니다.

GetBasicPropertiesAsync()

StorageFolder 개체의 기본 속성을 검색합니다.

GetFileAsync(String)

현재 폴더에서 파일을 검색합니다.

GetFilesAsync()

현재 폴더에서 모든 파일을 검색합니다.

GetFilesAsync(CommonFileQuery)

공통 폴더 쿼리를 기반으로 현재 폴더에서 파일을 검색합니다.

GetFilesAsync(CommonFileQuery, UInt32, UInt32)

일반적인 파일 쿼리를 기반으로 현재 폴더에서 파일 범위를 검색합니다.

GetFolderAsync(String)

현재 폴더에서 지정된 자식 폴더를 검색합니다.

GetFoldersAsync()

현재 폴더에서 모든 자식 폴더를 검색합니다.

GetFoldersAsync(CommonFolderQuery)

공통 폴더 쿼리를 기반으로 현재 폴더에서 자식 폴더를 검색합니다.

GetFoldersAsync(CommonFolderQuery, UInt32, UInt32)

공통 폴더 쿼리를 기반으로 현재 폴더에서 자식 폴더의 범위를 검색합니다.

GetIndexedStateAsync()

폴더의 인덱싱된 상태를 검색합니다.

GetItemAsync(String)

폴더에서 항목을 검색합니다.

GetItemsAsync()

현재 폴더에서 모든 항목을 검색합니다.

GetItemsAsync(UInt32, UInt32)

현재 폴더에서 항목 범위를 검색합니다.

GetParentAsync()

현재 폴더의 부모 폴더를 가져옵니다.

GetThumbnailAsync(ThumbnailMode)

StorageFolder와 연결된 썸네일을 검색합니다.

GetThumbnailAsync(ThumbnailMode, UInt32)

StorageFolder와 연결된 축소판 그림을 검색하여 지정된 크기로 크기 조정합니다.

GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions)

지정된 옵션에 따라 StorageFolder와 연결된 썸네일을 검색합니다.

IsCommonFileQuerySupported(CommonFileQuery)

현재 폴더가 지정된 공통 파일 쿼리를 지원하는지 여부를 나타내는 값을 검색합니다.

IsCommonFolderQuerySupported(CommonFolderQuery)

현재 폴더가 지정된 공통 폴더 쿼리를 지원하는지 여부를 나타내는 값을 검색합니다.

IsEqual(IStorageItem)

현재 폴더가 지정된 폴더와 같은지 여부를 나타냅니다.

IsOfType(StorageItemTypes)

로드된 StorageFolder 가 지정된 형식인지 여부를 확인합니다.

RenameAsync(String)

StorageFolder의 이름을 바꿉니다.

RenameAsync(String, NameCollisionOption)

StorageFolder의 이름을 바꾸고 이름이 같은 폴더가 이미 있는 경우 수행할 작업을 지정합니다.

TryGetItemAsync(String)

가져올 파일 또는 폴더의 이름을 사용하여 현재 폴더에서 특정 파일 또는 하위 폴더를 가져옵니다.

이벤트

PropertiesUpdated

StorageFolder의 속성 중 하나 이상이 업데이트되면 발생합니다.

ThumbnailUpdated

StorageFolder의 축소판 그림이 업데이트되거나 더 나은 품질의 썸네일을 사용할 수 있을 때 발생합니다.

적용 대상

추가 정보