IsolatedStorage.CurrentSize Właściwość

Definicja

Przestroga

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

Przestroga

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

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Pobiera wartość reprezentującą bieżący rozmiar izolowanego magazynu.

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

Wartość właściwości

Liczba jednostek magazynowania aktualnie używanych w izolowanym zakresie magazynu.

Atrybuty

Wyjątki

Bieżący rozmiar izolowanego magazynu jest niezdefiniowany.

Uwagi

Ta właściwość reprezentuje całkowite użycie wszystkich zasobów magazynu w izolowanym zakresie magazynu. IsolatedStorageFile.CurrentSize implementuje tę właściwość. W przypadku IsolatedStorageFile obiektów ta wartość jest wyrażona w bajtach. W przypadku implementacji innych obiektów magazynu, takich jak baza danych, ta wartość może znajdować się w innych jednostkach magazynu.

Dotyczy