CounterCreationDataCollection.Item[Int32] 屬性

定義

CounterCreationData 集合建立索引。

public:
 property System::Diagnostics::CounterCreationData ^ default[int] { System::Diagnostics::CounterCreationData ^ get(int index); void set(int index, System::Diagnostics::CounterCreationData ^ value); };
public System.Diagnostics.CounterCreationData this[int index] { get; set; }
member this.Item(int) : System.Diagnostics.CounterCreationData with get, set
Default Public Property Item(index As Integer) As CounterCreationData

參數

index
Int32

編入 CounterCreationDataCollection 的索引。

屬性值

集合索引,用來存取集合的個別項目。

例外狀況

index 小於 0。

-或-

index 等於或大於集合中的項目數目。

適用於