Share via


CodeTypeReferenceCollection.Item[Int32] 屬性

定義

取得或設定在集合的指定索引上的 CodeTypeReference

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

參數

index
Int32

要存取的集合索引。

屬性值

在每一個有效索引上的 CodeTypeReference

例外狀況

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

備註

此方法是可用來存取集合的索引器。

適用於