Windows.Storage Namespace

파일, 폴더 및 응용 프로그램 설정을 관리합니다.

구성원

Windows.Storage네임스페이스에는 다음과 같은 유형의 구성원이 있습니다.

클래스

Windows.Storage네임스페이스에는 다음 클래스가 있습니다.

클래스설명
ApplicationData Provides access to the application data store.
ApplicationDataCompositeValue Represents related app settings that must be serialized and deserialized atomically.
ApplicationDataContainer Represents a container for app settings.
ApplicationDataContainerSettings Provides access to the settings in a settings container.
CachedFileManager Lets apps manage real-time updates to files.
DownloadsFolder Creates files and folders inside the Downloads folder.
FileIO Provides helper methods for reading and writing files that are represented by objects of type IStorageFile.
KnownFolders Provides access to common locations that contain user content.
PathIO Provides helper methods for reading and writing a file using the absolute path or Uniform Resource Identifier (URI) of the file.
SetVersionDeferral Manages a delayed set version operation.
SetVersionRequest Provides data when an app sets the version of the application data in its app data store.
StorageFile Represents a file. Provides information about the file and its content, and ways to manipulate them.
StorageFolder Manipulates folders and their contents, and provides information about them.
StorageLibrary Lets you add and remove folders from a library like Music or Videos and lets you get a list of folders included in the library.
StorageProvider Contains info about the service that stores files and folders. Files and folders may be stored either by the local file system or by a remote service like Microsoft OneDrive.
StorageStreamTransaction Represents a write transaction for a random-access stream.
StreamedFileDataRequest Represents a sequential-access output stream that indicates a request for the data stream of a StorageFile that was created by calling CreateStreamedFileAsync or ReplaceWithStreamedFileAsync.
SystemAudioProperties Provides access to System.Audio.EncodingBitrate.
SystemGPSProperties Provides access to common GPS file properties like System.GPS.Latitude.
SystemImageProperties Provides access to common image file properties like System.Image.HorizontalSize.
SystemMediaProperties Provides access to common media file properties like System.Media.Duration.
SystemMusicProperties Provides access to common music file properties like System.Music.AlbumArtist.
SystemPhotoProperties Provides access to common photo file properties like System.Photo.CameraManufacturer.
SystemProperties Provides objects that let you access common Windows file properties like System.Title.
SystemVideoProperties Provides access to common video file properties like System.Video.Director.

 

대리자

Windows.Storage네임스페이스에는 다음 대리자가 있습니다.

대리자설명
ApplicationDataSetVersionHandler Represents a method that handles the request to set the version of the application data in the application data store.
StreamedFileDataRequestedHandler Represents a function that the app defines to produce the data stream of a StorageFile when that StorageFile is first accessed.

 

열거

Windows.Storage네임스페이스에는 다음 열거가 있습니다.

열거설명
ApplicationDataCreateDisposition Specifies creation options for application data containers.
ApplicationDataLocality Specifies the type of an application data store.
CreationCollisionOption Specifies what to do if a file with the desired name already exists in the current folder.
FileAccessMode Specifies the mode used to access a file.
FileAttributes Describes the attributes of system file or folder.
KnownLibraryId Values that identify storage libraries.
NameCollisionOption Specifies what to do if a file or folder renamed, moved, or copied and there is an existing file or folder with the same name in the desired location.
StorageDeleteOption Specifies whether an item that is deleted is sent to the Recycle Bin or permanently deleted.
StorageItemTypes Describes the kind of item that is represented by an instance of a class that implements IStorageItem (like a StorageFile or StorageFolder object).
StreamedFileFailureMode Indicates the reason that data could not be streamed.

 

인터페이스

Windows.Storage네임스페이스은(는) 다음 인터페이스를 정의합니다.

인터페이스설명
IStorageFile Represents a file. Provides information about the file and its contents, and ways to manipulate them.
IStorageFilePropertiesWithAvailability Provides access to the IsAvailable property.
IStorageFolder Manipulates folders and their contents, and provides information about them.
IStorageFolder2 Manipulates folders and their contents, and provides information about them.
IStorageItem Manipulates storage items (files and folders) and their contents, and provides information about them.
IStorageItem2 Manipulates storage items (files and folders) and their contents, and provides information about them.
IStorageItemProperties Provides access to common and content properties on items (like files and folders).
IStorageItemProperties2 Provides access to methods that get a scaled image as a thumbnail.
IStorageItemPropertiesWithProvider Provides access to common and content properties on storage items from a particular provider.
IStreamedFileDataRequest Represents a sequential-access output stream that indicates a request for the data stream of a StorageFile that was created by calling CreateStreamedFileAsync or ReplaceWithStreamedFileAsync.

 

요구 사항

지원되는 최소 클라이언트

Windows 8

지원되는 최소 서버

Windows Server 2012

지원되는 최소 전화

Windows Phone 8

네임스페이스

Windows.Storage
Windows::Storage [C++]

메타데이터

Windows.winmd

 

 

표시:
© 2014 Microsoft