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 将重写此属性。

适用于