Process.PrivateMemorySize Property

Definition

Caution

This property has been deprecated. Please use System.Diagnostics.Process.PrivateMemorySize64 instead. https://go.microsoft.com/fwlink/?linkid=14202

Caution

Process.PrivateMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PrivateMemorySize64 instead.

Caution

This property has been deprecated. Please use System.Diagnostics.Process.PrivateMemorySize64 instead. http://go.microsoft.com/fwlink/?linkid=14202

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

public:
 property int PrivateMemorySize { int get(); };
[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; }
[System.Obsolete("Process.PrivateMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PrivateMemorySize64 instead.")]
public int PrivateMemorySize { get; }
[System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PrivateMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public int PrivateMemorySize { get; }
public int PrivateMemorySize { get; }
[<System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PrivateMemorySize64 instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.PrivateMemorySize : int
[<System.Obsolete("Process.PrivateMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PrivateMemorySize64 instead.")>]
member this.PrivateMemorySize : int
[<System.Obsolete("This property has been deprecated.  Please use System.Diagnostics.Process.PrivateMemorySize64 instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.PrivateMemorySize : int
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.

Attributes

Applies to

See also