共用方式為


StorageDevice Members

The following tables list the members exposed by the StorageDevice type.

Public Properties

Name Description
Public Property FreeSpace Gets the amount of free space on the device.
Public Property IsConnected Gets whether the device is connected.
Public Property TotalSpace Gets the total amount of space on the device.

Public Methods

Name Description
Public Method BeginOpenContainer Begins the process for opening a StorageContainer containing any files for the specified title.
Public Method Static BeginShowSelector Overloaded. Overloaded methods for showing the storage device selector asynchronously.
Public Method DeleteContainer Deletes a storage container without opening it.
Public Method EndOpenContainer Ends the process for opening a StorageContainer.
Public Method Static EndShowSelector Ends the display of the storage selector user interface.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event Static DeviceChanged Occurs when a device is removed or inserted.

See Also

Concepts

What Is Storage?

Reference

StorageDevice Class
Microsoft.Xna.Framework.Storage Namespace