Edit

Share via


IsolatedStorage.CurrentSize Property

Definition

Caution

IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize

Caution

IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize instead.

Important

This API is not CLS-compliant.

Gets a value representing the current size of isolated storage.

public:
 virtual property System::UInt64 CurrentSize { System::UInt64 get(); };
[System.CLSCompliant(false)]
[System.Obsolete("IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant.  To get the current size use IsolatedStorage.UsedSize")]
public virtual ulong CurrentSize { get; }
[System.CLSCompliant(false)]
[System.Obsolete("IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize instead.")]
public virtual ulong CurrentSize { get; }
[System.CLSCompliant(false)]
public virtual ulong CurrentSize { get; }
[<System.CLSCompliant(false)>]
[<System.Obsolete("IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant.  To get the current size use IsolatedStorage.UsedSize")>]
member this.CurrentSize : uint64
[<System.CLSCompliant(false)>]
[<System.Obsolete("IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize instead.")>]
member this.CurrentSize : uint64
[<System.CLSCompliant(false)>]
member this.CurrentSize : uint64
Public Overridable ReadOnly Property CurrentSize As ULong

Property Value

The number of storage units currently used within the isolated storage scope.

Attributes

Exceptions

The current size of the isolated store is undefined.

Remarks

This property represents the total usage of all storage resources within the isolated storage scope. IsolatedStorageFile.CurrentSize implements this property. In the case of IsolatedStorageFile objects, this value is in bytes. In the case of implementations of other storage objects, such as a database, this value might be in other units of storage.

Applies to