IsolatedStorage.UsedSize 屬性

定義

在衍生類別中覆寫時,取得值,這個值表示隔離儲存區的已使用空間量。

public:
 virtual property long UsedSize { long get(); };
public virtual long UsedSize { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public virtual long UsedSize { get; }
member this.UsedSize : int64
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.UsedSize : int64
Public Overridable ReadOnly Property UsedSize As Long

屬性值

隔離儲存區的已使用空間量,以位元組為單位。

屬性

例外狀況

已執行需要存取 UsedSize 的作業,但尚未針對此存放區定義該屬性。 因為部分辨識項用來開啟存放區,使用列舉所取得的存放區沒有妥善定義 UsedSize 屬性。

備註

屬性 IsolatedStorageFile.UsedSize 會覆寫這個屬性。

適用於