CounterSetInstanceCounterDataSet 類別

定義

包含計數器值的集合。Contains the collection of counter values.

public ref class CounterSetInstanceCounterDataSet sealed : IDisposable
public sealed class CounterSetInstanceCounterDataSet : IDisposable
type CounterSetInstanceCounterDataSet = class
    interface IDisposable
Public NotInheritable Class CounterSetInstanceCounterDataSet
Implements IDisposable
繼承
CounterSetInstanceCounterDataSet
實作

備註

CounterSetInstance.Counters屬性會傳回這個類別的實例。The CounterSetInstance.Counters property returns an instance of this class.

屬性

Item[Int32]

使用指定的計數器識別項,存取集合中的計數器值。Accesses a counter value in the collection by using the specified counter identifier.

Item[String]

使用指定的計數器名稱,存取集合中的計數器值。Accesses a counter value in the collection by using the specified counter name.

方法

Dispose()

釋放這個物件使用的所有 Unmanaged 資源。Releases all unmanaged resources used by this object.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
Finalize()

允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於