Bagikan melalui


IsolatedStorage.CurrentSize Properti

Definisi

Perhatian

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

Perhatian

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

Penting

API ini bukan kompatibel CLS.

Mendapatkan nilai yang mewakili ukuran penyimpanan terisolasi saat ini.

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

Nilai Properti

Jumlah unit penyimpanan yang saat ini digunakan dalam cakupan penyimpanan terisolasi.

Atribut

Pengecualian

Ukuran penyimpanan terisolasi saat ini tidak terdefinisi.

Keterangan

Properti ini mewakili total penggunaan semua sumber daya penyimpanan dalam cakupan penyimpanan yang terisolasi. IsolatedStorageFile.CurrentSize mengimplementasikan properti ini. Dalam kasus IsolatedStorageFile objek, nilai ini dalam byte. Dalam kasus implementasi objek penyimpanan lain, seperti database, nilai ini mungkin berada di unit penyimpanan lain.

Berlaku untuk