IsolatedStorage.CurrentSize 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize instead.
注意
IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize
重要
此 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 instead.")]
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")]
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 instead.")>]
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")>]
member this.CurrentSize : uint64
[<System.CLSCompliant(false)>]
member this.CurrentSize : uint64
Public Overridable ReadOnly Property CurrentSize As ULong
属性值
隔离存储范围内当前使用的存储单元数。
- 特性
例外
未定义独立存储的当前大小。
注解
此属性表示独立存储范围内所有存储资源的总使用量。 IsolatedStorageFile.CurrentSize 实现此属性。 对于 IsolatedStorageFile 对象,此值以字节为单位。 对于其他存储对象的实现(例如数据库),此值可能位于其他存储单元中。