Share via


CodeTypeParameterCollection.Item[Int32] 屬性

定義

取得或設定位於集合中所指定索引處的 CodeTypeParameter 物件。

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

要存取之集合物件以零起始的索引。

屬性值

位於指定索引處的 CodeTypeParameter 物件。

例外狀況

index 超出集合索引的有效範圍。

備註

這個屬性是可用來存取集合的索引器。

適用於