IsolatedStorage.AvailableFreeSpace Property

.NET Framework (current version)
 

When overridden in a derived class, gets the available free space for isolated storage, in bytes.

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

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

Property Value

Type: System.Int64

The available free space for isolated storage, in bytes.

Exception Condition
InvalidOperationException

An operation was performed that requires access to AvailableFreeSpace, but that property is not defined for this store. Stores that are obtained by using enumerations do not have a well-defined AvailableFreeSpace property, because partial evidence is used to open the store.

The IsolatedStorageFile.AvailableFreeSpace property overrides this property.

.NET Framework
Available since 4.0
Return to top
Show: