SystemInfoEvent.NumberOfProcessors Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the number of physical processors in the system.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public ReadOnly Property NumberOfProcessors As Integer
Get
'Usage
Dim instance As SystemInfoEvent
Dim value As Integer
value = instance.NumberOfProcessors
public int NumberOfProcessors { get; }
public:
property int NumberOfProcessors {
int get ();
}
member NumberOfProcessors : int
function get NumberOfProcessors () : int
Property Value
Type: System.Int32
Remarks
This value is retrieved from GetNativeSystemInfo.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.