編輯

共用方式為


CounterSample.CounterType Property

Definition

Gets the performance counter type.

public:
 property System::Diagnostics::PerformanceCounterType CounterType { System::Diagnostics::PerformanceCounterType get(); };
public System.Diagnostics.PerformanceCounterType CounterType { get; }
member this.CounterType : System.Diagnostics.PerformanceCounterType
Public ReadOnly Property CounterType As PerformanceCounterType

Property Value

A PerformanceCounterType object that indicates the type of the counter for which this sample is a snapshot.

Applies to