IsolatedStorage::CurrentSize Property
Gets a value representing the current size of isolated storage.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
public: [CLSCompliantAttribute(false)] [ObsoleteAttribute("IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize")] property unsigned long long CurrentSize { virtual unsigned long long get(); }
Property Value
Type: System::UInt64The number of storage units currently used within the isolated storage scope.
| Exception | Condition |
|---|---|
| InvalidOperationException | The current size of the isolated store is undefined. |
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.
Available since 1.1