Export (0) Print
Expand All

Process.VirtualMemorySize Property

NOTE: This property is now obsolete.

Gets the size of the process's virtual memory.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

[ObsoleteAttribute("This property has been deprecated.  Please use System.Diagnostics.Process.VirtualMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")] 
public int VirtualMemorySize { get; }
/** @property */
public int get_VirtualMemorySize ()

public function get VirtualMemorySize () : int

Not applicable.

Property Value

The amount of virtual memory that the associated process has requested.

Exception typeCondition

PlatformNotSupportedException

The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.

  • LinkDemand  for full trust for the immediate caller. This member cannot be used by partially trusted code.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.0, 1.1, 2.0
Obsolete (compiler warning) in 3.0

Community Additions

ADD
Show:
© 2014 Microsoft