Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Process.VirtualMemorySize Property

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: 

See Also

Process Class | Process Members | System.Diagnostics Namespace

Show:
© 2015 Microsoft