IsolatedStorageFile.MaximumSize プロパティ
アセンブリ: mscorlib (mscorlib.dll 内)

[CLSCompliantAttribute(false)] public: virtual property usigned long long MaximumSize { usigned long long get () override; }
分離ストレージ領域の制限 (バイト単位)。


使用できるバイト数は、管理者が分離ストレージに対して設定するクォータによって制限されます。クォータは、証拠に基づいてセキュリティ ポリシーで設定されるため、同じコードでも、異なる証拠で実行される場合は異なるクォータを受け取ることがあります。たとえば、同じアプリケーションでも、ローカルで実行される場合とイントラネット上の共有から実行される場合とでは受け取るクォータが異なります。

MaximumSize プロパティのコード例を次に示します。この例のコンテキスト全体については、IsolatedStorageFile の概要を参照してください。
Dim writer As New StreamWriter(isoStream) ' Update the data based on the new inputs. writer.WriteLine(Me.NewsUrl) writer.WriteLine(Me.SportsUrl) ' Calculate the amount of space used to record this user's preferences. Dim d As Double = Convert.ToDouble(isoFile.CurrentSize) / Convert.ToDouble(isoFile.MaximumSize) Console.WriteLine(("CurrentSize = " & isoFile.CurrentSize.ToString())) Console.WriteLine(("MaximumSize = " & isoFile.MaximumSize.ToString()))
StreamWriter writer = new StreamWriter(isoStream); // Update the data based on the new inputs. writer.WriteLine(this.NewsUrl); writer.WriteLine(this.SportsUrl); // Calculate the amount of space used to record this user's preferences. double d = isoFile.CurrentSize / isoFile.MaximumSize; Console.WriteLine("CurrentSize = " + isoFile.CurrentSize.ToString()); Console.WriteLine("MaximumSize = " + isoFile.MaximumSize.ToString());
StreamWriter^ writer = gcnew StreamWriter( isoStream ); // Update the data based on the new inputs. writer->WriteLine( this->NewsUrl ); writer->WriteLine( this->SportsUrl ); // Calculate the amount of space used to record this user's preferences. double d = isoFile->CurrentSize / isoFile->MaximumSize; Console::WriteLine( "CurrentSize = {0}", isoFile->CurrentSize.ToString() ); Console::WriteLine( "MaximumSize = {0}", isoFile->MaximumSize.ToString() );

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からIsolatedStorageFile.MaximumSize プロパティを検索する場合は、下記のリンクをクリックしてください。

- IsolatedStorageFile.MaximumSize プロパティのページへのリンク