Process.VirtualMemorySize Property
.NET Framework 1.1
Gets the size of the process's virtual memory.
[Visual Basic] Public ReadOnly Property VirtualMemorySize As Integer [C#] public int VirtualMemorySize {get;} [C++] public: __property int get_VirtualMemorySize(); [JScript] public function get VirtualMemorySize() : int;
Property Value
The amount of virtual memory that the associated process has requested.
Exceptions
| Exception Type | Condition |
|---|---|
| PlatformNotSupportedException | You are accessing this member using Windows 98. |
Requirements
Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- SecurityPermission for calling any members of System.Diagnostic.Process with full trust. Associated enumeration: PermissionState.Unrestricted
See Also
Process Class | Process Members | System.Diagnostics Namespace