分離ストレージの現在のサイズを表す値を取得します。
<CLSCompliant(False)>
Public Overridable ReadOnly Property CurrentSize As UInt64
[C#]
[CLSCompliant(false)]
public virtual ulong CurrentSize {get;}
[C++]
[CLSCompliant(false)]
public: __property virtual unsigned __int64 get_CurrentSize();
[JScript]
public
CLSCompliant(false)
function get CurrentSize() : UInt64;
プロパティ値
分離ストレージのスコープ内で現在使用されているストレージ単位数。
例外
例外の種類 | 条件 |
---|---|
InvalidOperationException | 分離ストアの現在のサイズが未定義です。 |
解説
分離ストレージのスコープ内にあるすべてのストレージ リソースによるストレージ使用率の合計を表します。 IsolatedStorageFile.CurrentSize は、このプロパティを実装しています。 IsolatedStorageFile オブジェクトの場合、この値の単位はバイトです。データベースなど、その他のストレージ オブジェクトの実装では、この値は別のストレージ単位になることがあります。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
IsolatedStorage クラス | IsolatedStorage メンバ | System.IO.IsolatedStorage 名前空間