共用方式為


Microsoft.Xna.Framework.Storage Namespace

Contains classes that allow reading and writing of files.

Classes

Name Description
Public Class StorageContainer Represents a logical collection of storage files.
Public Class StorageDevice Represents a storage device for user data, such as a memory unit or hard drive.
Public Class StorageDeviceNotConnectedException The exception that is thrown when the requested StorageDevice is not connected.

See Also

Tasks

Creating a File
Opening a File for Reading/Writing
Copying a File
Renaming a File
Enumerating Save Game Files
Deleting a Save Game File
Reading Game Data from Title Storage
Saving Data to a Save Game File
Getting a StorageDevice Asynchronously

Concepts

What Is Storage?