共用方式為


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

適用於