StorageDevice.TotalSpace Property

Gets the total amount of space on the device.

Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework.Storage (in microsoft.xna.framework.storage.dll)

Syntax

public long TotalSpace { get; }

Property Value

Total amount of space on the device, in bytes.

Exceptions

Exception type Condition
StorageDeviceNotConnectedException The storage device bound to the container is not connected.

See Also

Reference

StorageDevice Class
StorageDevice Members
Microsoft.Xna.Framework.Storage Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP