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

Public Shared ReadOnly Property WorkingSet As Long
プロセス コンテキストに割り当てられる物理メモリのバイト数を格納している 64 ビット符号付き整数。


コード例を実行しているコンピュータについて、ワーキング セットのサイズを表示するコード例を次に示します。
' Sample for the Environment.WorkingSet property Imports System Class Sample Public Shared Sub Main() Console.WriteLine("WorkingSet: {0}", Environment.WorkingSet) End Sub 'Main End Class 'Sample ' 'This example produces the following results: ' 'WorkingSet: 5038080 '
// Sample for the Environment.WorkingSet property using System; class Sample { public static void Main() { Console.WriteLine("WorkingSet: {0}", Environment.WorkingSet); } } /* This example produces the following results: WorkingSet: 5038080 */
// Sample for the Environment::WorkingSet property using namespace System; int main() { Console::WriteLine( "WorkingSet: {0}", Environment::WorkingSet ); } /* This example produces the following results: WorkingSet: 5038080 */
// Sample for the Environment.WorkingSet property import System.*; class Sample { public static void main(String[] args) { Console.WriteLine("WorkingSet: {0}", System.Convert.ToString(Environment.get_WorkingSet())); } //main } //Sample /* This example produces the following results: WorkingSet: 5038080 */


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


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

- Environment.WorkingSet プロパティのページへのリンク