Windows.Storage Windows.Storage Windows.Storage Windows.Storage Namespace

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

Provides access to the application data store. Application data consists of files and settings that are either local, roaming, or temporary.

Represents related app settings that must be serialized and deserialized atomically.

Represents a container for app settings. The methods and properties of this class support creating, deleting, enumerating, and traversing the container hierarchy.

Provides access to the settings in a settings container. The Values property returns an object that can be cast to this type.

Lets apps manage real-time updates to files.

Creates files and folders inside the Downloads folder.

Provides helper methods for reading and writing files that are represented by objects of type IStorageFile.

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.

Provides helper methods for reading and writing a file using the absolute path or Uniform Resource Identifier (URI) of the file.

Manages a delayed set version operation.

Provides data when an app sets the version of the application data in its app data store.

Represents a file. Provides information about the file and its content, and ways to manipulate them.

Manages folders and their contents and provides information about them.

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.

Represents a change to an item in a storage library such as the documents, music, or video library.

Enables the calling app to read through the changes to items in a storage library.

Provides APIs that you can use to manage change tracking for any library in the system such as documents, music, or videos.

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.

Represents a write transaction for a random-access stream.

Represents a sequential-access output stream that indicates a request for the data stream of a StorageFile that was created by calling CreateStreamedFileAsync(String, StreamedFileDataRequestedHandler, IRandomAccessStreamReference) or ReplaceWithStreamedFileAsync(IStorageFile, StreamedFileDataRequestedHandler, IRandomAccessStreamReference).

A helper object that provides indexing names for Windows audio file properties.

A helper object that provides indexing names for GPS file properties.

A helper object that provides indexing names for Windows image file properties.

A helper object that provides indexing names for Windows media file properties.

A helper object that provides indexing names for Windows music file properties.

A helper object that provides indexing names for Windows photo file properties.

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).

A helper object that provides indexing names for video file properties.

Interfaces

Represents a file. Provides information about the file and its contents, and ways to manipulate them.

Important

If you simply want to work with files in your app, see the StorageFile class.

Represents a file. Provides information about the file and its contents, and ways to manipulate them.

Important

If you simply want to work with files in your app, see the StorageFile class.

Provides access to the IsAvailable property.

Manipulates folders and their contents, and provides information about them.

Important

If you simply want to work with folders in your app, see the StorageFolder class.

Manipulates folders and their contents, and provides information about them.

Important

If you simply want to work with folders in your app, see the StorageFolder class.

Manipulates storage items (files and folders) and their contents, and provides information about them.

Important

If you simply want to work with files and folders in your app, see the StorageFile and StorageFolder classes.

Manipulates storage items (files and folders) and their contents, and provides information about them.

Important

If you simply want to work with files and folders in your app, see the StorageFile and StorageFolder classes.

Provides access to common and content properties on items (like files and folders).

Provides access to methods that get a scaled image as a thumbnail.

Provides access to common and content properties on storage items from a particular provider.

Represents a sequential-access output stream that indicates a request for the data stream of a StorageFile that was created by calling CreateStreamedFileAsync(String, StreamedFileDataRequestedHandler, IRandomAccessStreamReference) or ReplaceWithStreamedFileAsync(IStorageFile, StreamedFileDataRequestedHandler, IRandomAccessStreamReference).

Enums

Specifies options for creating application data containers or returning existing containers. This enumeration is used by the CreateContainer(String, ApplicationDataCreateDisposition) method.

Specifies the type of an application data store.

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.

Specifies whether to access a file in read-only mode or in read/write mode.

Describes the attributes of a file or folder.

Provides values that identify storage folders.

Provides values that identify storage libraries.

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.

Specifies whether a deleted item is moved to the Recycle Bin or permanently deleted.

Describes whether an item that implements the IStorageItem interface is a file or a folder.

Describes the type of change that occurred to the storage library item.

Provides options to use when opening a file.

Indicates the reason that data could not be streamed.

Delegates

Represents a method that handles the request to set the version of the application data in the application data store.

Represents the method that will stream data into a StorageFile when that file is first accessed.