CounterCreationDataCollection.Item[Int32] 属性

定义

CounterCreationData 集合编制索引。Indexes the CounterCreationData collection.

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

参数

属性值

CounterCreationData

集合索引,用于访问该集合中的单个元素。The collection index, which is used to access individual elements of the collection.

例外

index 小于 0。index is less than 0.

- 或 --or- index 大于或等于集合中的项数。index is equal to or greater than the number of items in the collection.

适用于