IsolatedStorage.CurrentSize Свойство

Определение

Внимание!

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

Внимание!

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

Важно!

Этот 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")]
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

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

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

Атрибуты

Исключения

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

Комментарии

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

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