Process.VirtualMemorySize Property

Definition

Warning

This API is now obsolete.

Gets the size of the process's virtual memory, in bytes.

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

Property Value

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

Attributes

Security

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

Applies to

See also