Environment.WorkingSet プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Environment.WorkingSet プロパティの意味・解説 

Environment.WorkingSet プロパティ

プロセス コンテキストに割り当てられる物理メモリ量を取得します。

名前空間: System
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

解説解説

Windows 98, Windows Millennium Edition プラットフォームメモ : このプロパティは常に 0 を返します。

使用例使用例

コード例を実行しているコンピュータについて、ワーキング セットのサイズを表示するコード例を次に示します。

' 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
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
*/
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

Environment.WorkingSet プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Environment.WorkingSet プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS