メモ : このプロパティは、互換性のために残されています。
プロセスの仮想メモリのサイズを取得します。
名前空間: System.Diagnostics
アセンブリ: System (system.dll 内)
構文
'宣言
<ObsoleteAttribute("This property has been deprecated. Please use System.Diagnostics.Process.VirtualMemorySize64 instead. https://go.microsoft.com/fwlink/?linkid=14202")> _
Public ReadOnly Property VirtualMemorySize As Integer
'使用
Dim instance As Process
Dim value As Integer
value = instance.VirtualMemorySize
[ObsoleteAttribute("This property has been deprecated. Please use System.Diagnostics.Process.VirtualMemorySize64 instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public int VirtualMemorySize { get; }
[ObsoleteAttribute(L"This property has been deprecated. Please use System.Diagnostics.Process.VirtualMemorySize64 instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public:
property int VirtualMemorySize {
int get ();
}
/** @property */
public int get_VirtualMemorySize ()
public function get VirtualMemorySize () : int
プロパティ値
関連付けられたプロセスが要求した仮想メモリの容量。
例外
例外の種類 | 条件 |
---|---|
プラットフォームが Windows 98 または Windows Millennium Edition (Windows Me) です。このプロパティはサポートされません。 |
.NET Framework のセキュリティ
- SecurityPermission (Process のメンバを呼び出すためのアクセス許可)。要求値 : LinkDemand、名前付きアクセス許可セット、FullTrust。
プラットフォーム
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 1.0、1.1
2.0 では、互換性のために残されています (コンパイル時に警告)
参照
関連項目
Process クラス
Process メンバ
System.Diagnostics 名前空間
VirtualMemorySize64
Process.PeakVirtualMemorySize64 プロパティ