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 小于 0。

-或-

index 等于或大于集合中的项数。

适用于