語言

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 等於或大於該集合中的項目數量。

適用於