Windows.Storage
Windows.Storage
Windows.Storage
Windows.Storage
Namespace
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[This namespace contains one or more prerelease APIs.]
Provides classes for managing files, folders, and application settings.
For info about how to use the objects in the Windows.Storage namespace, see the following sections.
Classes
| AppDataPaths AppDataPaths AppDataPaths AppDataPaths |
[Contains prerelease APIs.] |
| ApplicationData ApplicationData ApplicationData ApplicationData |
Provides access to the application data store. Application data consists of files and settings that are either local, roaming, or temporary. |
| ApplicationDataCompositeValue ApplicationDataCompositeValue ApplicationDataCompositeValue ApplicationDataCompositeValue |
Represents related app settings that must be serialized and deserialized atomically. |
| ApplicationDataContainer ApplicationDataContainer ApplicationDataContainer ApplicationDataContainer |
Represents a container for app settings. The methods and properties of this class support creating, deleting, enumerating, and traversing the container hierarchy. |
| ApplicationDataContainerSettings ApplicationDataContainerSettings ApplicationDataContainerSettings ApplicationDataContainerSettings |
Provides access to the settings in a settings container. The ApplicationDataContainer.Values property returns an object that can be cast to this type. |
| CachedFileManager CachedFileManager CachedFileManager CachedFileManager |
Lets apps manage real-time updates to files. |
| DownloadsFolder DownloadsFolder DownloadsFolder DownloadsFolder |
Creates files and folders inside the Downloads folder. |
| FileIO FileIO FileIO FileIO |
Provides helper methods for reading and writing files that are represented by objects of type IStorageFile. |
| KnownFolders KnownFolders KnownFolders KnownFolders |
Provides access to common locations that contain user content. This includes content from a user's local libraries (such as Documents, Pictures, Music, and Videos), HomeGroup, removable devices, and media server devices. |
| PathIO PathIO PathIO PathIO |
Provides helper methods for reading and writing a file using the absolute path or Uniform Resource Identifier (URI) of the file. |
| SetVersionDeferral SetVersionDeferral SetVersionDeferral SetVersionDeferral |
Manages a delayed set version operation. |
| SetVersionRequest SetVersionRequest SetVersionRequest SetVersionRequest |
Provides data when an app sets the version of the application data in its app data store. |
| StorageFile StorageFile StorageFile StorageFile |
Represents a file. Provides information about the file and its content, and ways to manipulate them. |
| StorageFolder StorageFolder StorageFolder StorageFolder |
Manages folders and their contents and provides information about them. |
| StorageLibrary StorageLibrary StorageLibrary StorageLibrary |
[Contains prerelease APIs.] |
| StorageLibraryChange StorageLibraryChange StorageLibraryChange StorageLibraryChange |
Represents a change to an item in a storage library such as the documents, music, or video library. |
| StorageLibraryChangeReader StorageLibraryChangeReader StorageLibraryChangeReader StorageLibraryChangeReader |
Enables the calling app to read through the changes to items in a storage library. |
| StorageLibraryChangeTracker StorageLibraryChangeTracker StorageLibraryChangeTracker StorageLibraryChangeTracker |
Provides APIs that you can use to manage change tracking for any library in the system such as documents, music, or videos. |
| StorageProvider StorageProvider StorageProvider StorageProvider |
[Contains prerelease APIs.] |
| StorageStreamTransaction StorageStreamTransaction StorageStreamTransaction StorageStreamTransaction |
Represents a write transaction for a random-access stream. |
| StreamedFileDataRequest StreamedFileDataRequest StreamedFileDataRequest 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 SystemAudioProperties SystemAudioProperties SystemAudioProperties |
A helper object that provides indexing names for Windows audio file properties. |
| SystemDataPaths SystemDataPaths SystemDataPaths SystemDataPaths |
[Contains prerelease APIs.] |
| SystemGPSProperties SystemGPSProperties SystemGPSProperties SystemGPSProperties |
A helper object that provides indexing names for GPS file properties. |
| SystemImageProperties SystemImageProperties SystemImageProperties SystemImageProperties |
A helper object that provides indexing names for Windows image file properties. |
| SystemMediaProperties SystemMediaProperties SystemMediaProperties SystemMediaProperties |
A helper object that provides indexing names for Windows media file properties. |
| SystemMusicProperties SystemMusicProperties SystemMusicProperties SystemMusicProperties |
A helper object that provides indexing names for Windows music file properties. |
| SystemPhotoProperties SystemPhotoProperties SystemPhotoProperties SystemPhotoProperties |
A helper object that provides indexing names for Windows photo file properties. |
| SystemProperties SystemProperties SystemProperties SystemProperties |
Provides string values for indexing names of common Windows file properties such as System.Title, and also references helper objects that provide indexing names for properties of specific file types (for example video files). |
| SystemVideoProperties SystemVideoProperties SystemVideoProperties SystemVideoProperties |
A helper object that provides indexing names for video file properties. |
| UserDataPaths UserDataPaths UserDataPaths UserDataPaths |
[Contains prerelease APIs.] |
Interfaces
| IStorageFile IStorageFile IStorageFile IStorageFile |
Represents a file. Provides information about the file and its contents, and ways to manipulate them.
|
| IStorageFile2 IStorageFile2 IStorageFile2 IStorageFile2 |
Represents a file. Provides information about the file and its contents, and ways to manipulate them.
|
| IStorageFilePropertiesWithAvailability IStorageFilePropertiesWithAvailability IStorageFilePropertiesWithAvailability IStorageFilePropertiesWithAvailability |
Provides access to the IsAvailable property. |
| IStorageFolder IStorageFolder IStorageFolder IStorageFolder |
Manipulates folders and their contents, and provides information about them.
|
| IStorageFolder2 IStorageFolder2 IStorageFolder2 IStorageFolder2 |
Manipulates folders and their contents, and provides information about them.
|
| IStorageItem IStorageItem IStorageItem IStorageItem |
Manipulates storage items (files and folders) and their contents, and provides information about them.
|
| IStorageItem2 IStorageItem2 IStorageItem2 IStorageItem2 |
Manipulates storage items (files and folders) and their contents, and provides information about them.
|
| IStorageItemProperties IStorageItemProperties IStorageItemProperties IStorageItemProperties |
Provides access to common and content properties on items (like files and folders). |
| IStorageItemProperties2 IStorageItemProperties2 IStorageItemProperties2 IStorageItemProperties2 |
Provides access to methods that get a scaled image as a thumbnail. |
| IStorageItemPropertiesWithProvider IStorageItemPropertiesWithProvider IStorageItemPropertiesWithProvider IStorageItemPropertiesWithProvider |
Provides access to common and content properties on storage items from a particular provider. |
| IStreamedFileDataRequest IStreamedFileDataRequest IStreamedFileDataRequest 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. |
Enums
| ApplicationDataCreateDisposition ApplicationDataCreateDisposition ApplicationDataCreateDisposition ApplicationDataCreateDisposition |
Specifies options for creating application data containers or returning existing containers. This enumeration is used by the ApplicationDataContainer.CreateContainer method. |
| ApplicationDataLocality ApplicationDataLocality ApplicationDataLocality ApplicationDataLocality |
Specifies the type of an application data store. |
| CreationCollisionOption CreationCollisionOption CreationCollisionOption CreationCollisionOption |
Specifies what to do if a file or folder with the specified name already exists in the current folder when you create a new file or folder. |
| FileAccessMode FileAccessMode FileAccessMode FileAccessMode |
Specifies whether to access a file in read-only mode or in read/write mode. |
| FileAttributes FileAttributes FileAttributes FileAttributes |
Describes the attributes of a file or folder. |
| KnownFolderId KnownFolderId KnownFolderId KnownFolderId |
Provides values that identify storage folders. |
| KnownLibraryId KnownLibraryId KnownLibraryId KnownLibraryId |
Provides values that identify storage libraries. |
| NameCollisionOption NameCollisionOption NameCollisionOption NameCollisionOption |
Specifies what to do if a file or folder with the specified name already exists in the current folder when you copy, move, or rename a file or folder. |
| StorageDeleteOption StorageDeleteOption StorageDeleteOption StorageDeleteOption |
Specifies whether a deleted item is moved to the Recycle Bin or permanently deleted. |
| StorageItemTypes StorageItemTypes StorageItemTypes StorageItemTypes |
Describes whether an item that implements the IStorageItem interface is a file or a folder. |
| StorageLibraryChangeType StorageLibraryChangeType StorageLibraryChangeType StorageLibraryChangeType |
Describes the type of change that occurred to the storage library item. |
| StorageOpenOptions StorageOpenOptions StorageOpenOptions StorageOpenOptions |
Provides options to use when opening a file. |
| StreamedFileFailureMode StreamedFileFailureMode StreamedFileFailureMode StreamedFileFailureMode |
Indicates the reason that data could not be streamed. |
Delegates
| ApplicationDataSetVersionHandler ApplicationDataSetVersionHandler ApplicationDataSetVersionHandler ApplicationDataSetVersionHandler |
Represents a method that handles the request to set the version of the application data in the application data store. |
| StreamedFileDataRequestedHandler StreamedFileDataRequestedHandler StreamedFileDataRequestedHandler StreamedFileDataRequestedHandler |
Represents the method that will stream data into a StorageFile when that file is first accessed. |