IsolatedStorageFile.AvailableFreeSpace Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that represents the amount of free space available for isolated storage.

Namespace:   System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(false)]
public override long AvailableFreeSpace { get; }

Property Value

Type: System.Int64

The available free space for isolated storage, in bytes.

Exception Condition
InvalidOperationException

The isolated store is closed.

IsolatedStorageException

The isolated store has been removed.

-or-

Isolated storage is disabled.

ObjectDisposedException

The isolated store has been disposed.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: