StorageDevice.ShowStorageDeviceGuide Method (PlayerIndex)
Displays the device selector UI to allow users to select a device to save data. Has no effect on Windows.
Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static StorageDevice ShowStorageDeviceGuide (
PlayerIndex playerIndex
)
Parameters
- playerIndex
The PlayerIndex of the user associated with the local port (input port).
Return Value
The storage device selected by the user.
Remarks
Warning
Calling this function from the main thread of an Xbox 360 game will freeze the game. Use BeginShowStorageDeviceGuide instead, or call this function from a secondary thread.
Example
StorageDevice device = StorageDevice.ShowStorageDeviceGuide(PlayerIndex.One);
See Also
Reference
StorageDevice Class
StorageDevice Members
Microsoft.Xna.Framework.Storage Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista