次の方法で共有


StorageDevice.FreeSpace Property

Gets the amount of free space on the device.

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

Syntax

public long FreeSpace { get; }

Property Value

Free 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 XP SP2, Windows Vista