IsolatedStorageFile.UsedSize Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public ReadOnly Property UsedSize As Long
public long UsedSize { get; }

Property Value

Type: System.Int64
The used isolated storage space, in bytes.

Exceptions

Exception Condition
InvalidOperationException

The isolated store has been closed.

IsolatedStorageException

The isolated store has been removed.

ObjectDisposedException

The isolated store has been disposed.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.