Storage
MSDN Home
MSDN
MSDN Library
Development Tools and Language ...
XNA Game Studio
XNA Game Studio 3.1
Programming Guide
Storage
Storage Overview
How To: Create a File
How To: Open a File
How To: Copy a File
How To: Rename a File
How To: Enumerate Files
How To: Delete a File
How To: Load a Game Data File
How To: Serialize Data
How To: Get a StorageDevice As ...
Programming Guide
Game Programming Basics
Content Pipeline
Application Model
Graphics
Math
Input
Audio
Media
Storage
Gamer Services
Networking
Hardware and Platforms
Extended Tutorials
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
XNA Game Studio 3.1
Storage
Provides classes that allow reading and writing of files.
In This Section
Storage Overview
The XNA Framework provides a set of classes in the
Microsoft.Xna.Framework.Storage
namespace that are used to read and write files from user storage and title storage, including player saves or title data.
How To: Create a File
Demonstrates how to use the
StorageContainer
class to create a save game file in the title storage area on a device specified by the gamer.
How To: Open a File
Demonstrates how to use the
StorageContainer
class to open a save game file in the title storage area on a device specified by the gamer.
How To: Copy a File
Demonstrates how to use the
StorageContainer
class to copy a save game file in the title storage area on a device specified by the gamer.
How To: Rename a File
Demonstrates how to use the
StorageContainer
class to rename a save game file in the title storage area on a device specified by the gamer.
How To: Enumerate Files
Demonstrates how to use the
StorageContainer
class to get a list of save game files in the title storage area on a device specified by the gamer.
How To: Delete a File
Demonstrates how to use the
StorageContainer
class to delete a save game file in the title storage area on a device specified by the gamer.
How To: Load a Game Data File
Demonstrates how to use the
File
class to read a file from the game image directory.
How To: Serialize Data
Demonstrates how to use the
XmlSerializer
class to write data in a custom class to a saved game, and how to load the data from the file.
How To: Get a StorageDevice Asynchronously
Demonstrates how to call
BeginShowStorageDeviceSelector
and
EndShowStorageDeviceSelector
to get a
StorageDevice
object asynchronously.
Tags :