CodeTypeParameterCollection.Item[Int32] 属性

定义

获取或设置集合中指定索引处的 CodeTypeParameter 对象。Gets or sets the CodeTypeParameter object at the specified index in the collection.

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

参数

index
Int32

要访问的集合对象的从零开始的索引。The zero-based index of the collection object to access.

属性值

CodeTypeParameter

指定索引处的 CodeTypeParameter 对象。The CodeTypeParameter object at the specified index.

例外

index 超出了集合的有效索引范围。index is outside the valid range of indexes for the collection.

注解

此属性是可用于访问集合的索引器。This property is an indexer that can be used to access the collection.

适用于