Process.PrivateMemorySize Process.PrivateMemorySize Process.PrivateMemorySize Process.PrivateMemorySize Property

Definition

Warning

This API is now obsolete.

Gets the amount of private memory, in bytes, allocated for the associated process.

public:
 property int PrivateMemorySize { int get(); };
[System.Obsolete("Use PrivateMemorySize64")]
[System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PrivateMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PrivateMemorySize64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public int PrivateMemorySize { get; }
member this.PrivateMemorySize : int
Public ReadOnly Property PrivateMemorySize As Integer

Property Value

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

Security

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

Applies to

See also