Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
XNA Developer Center
Home
Library
Learn
Downloads
Support
Community
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Development Tools and Languages
Please Wait
XNA Game Studio
Please Wait
XNA Game Studio 3.1
Please Wait
Programming Guide
Please Wait
Storage
Please Wait
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
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement
|
Site Feedback