IsolatedStorage.CurrentSize Свойство

Определение

Внимание!

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

Внимание!

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

Важно!

Этот API несовместим с CLS.

Возвращает значение, представляющее текущий размер изолированного хранилища.

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 instead.")]
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")]
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 instead.")>]
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")>]
member this.CurrentSize : uint64
[<System.CLSCompliant(false)>]
member this.CurrentSize : uint64
Public Overridable ReadOnly Property CurrentSize As ULong

Значение свойства

Количество единиц хранения, используемых в настоящее время в изолированной области хранения.

Атрибуты

Исключения

Текущий размер изолированного хранилища не определен.

Комментарии

Это свойство представляет общее использование всех ресурсов хранилища в изолированной области хранения. IsolatedStorageFile.CurrentSize реализует это свойство. В случае IsolatedStorageFile объектов это значение находится в байтах. В случае реализации других объектов хранилища, таких как база данных, это значение может находиться в других единицах хранилища.

Применяется к