CodeCatchClauseCollection.Item[Int32] 屬性

定義

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

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

參數

index
Int32

要存取的集合索引。

屬性值

位於每一個有效索引的 CodeCatchClause 物件。

例外狀況

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

備註

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

適用於

另請參閱