Export (0) Print
Expand All

Process.PrivateMemorySize Property

NOTE: This property is now obsolete.

Gets the private memory size.

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

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

public function get PrivateMemorySize () : int

Not applicable.

Property Value

The number of bytes allocated by the associated process that cannot be shared with other processes.

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