WebProcessStatistics.WorkingSet 属性

定义

获取进程的工作集。

public:
 property long WorkingSet { long get(); };
public long WorkingSet { get; }
member this.WorkingSet : int64
Public ReadOnly Property WorkingSet As Long

属性值

进程的工作集。

示例

下面的代码示例演示如何获取 WorkingSet 值。

public string GetWorkingSet()
{
    // Get the working set.
    return (string.Format(
        "Working set: {0}",
        processStatistics.WorkingSet.ToString()));
}
Public Function GetWorkingSet() As String
    ' Get the working set.
    Return String.Format( _
    "Working set: {0}", _
    processStatistics.WorkingSet.ToString())
End Function 'GetWorkingSet

适用于