NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

GC.TotalMemory

The amount of space in bytes currently allocated to objects that are thought to be alive. This may include space that is soon to be freed.

[Visual Basic]
Public Shared ReadOnly Property TotalMemory As Integer
[C#]
public static int TotalMemory {get;}
[C++]
public: __property static int get_TotalMemory();
[JScript]
public static function get TotalMemory() : int;

Property Value

The number of bytes currently allocated.

Exceptions

Exception Type Condition
SecurityException is thrown if the caller doesn't have SystemInfoPermission.

See Also

GC Class | GC Members | System Namespace