CodeDirectiveCollection.Item[Int32] プロパティ

定義

コレクション内の指定したインデックスでの CodeDirective オブジェクトを取得または設定します。

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

パラメーター

index
Int32

アクセスするインデックス位置。

プロパティ値

インデックス位置にある CodeDirective

例外

index が、コレクションのインデックス位置の有効範囲外です。

注釈

このプロパティは、コレクションへのアクセスに使用できるインデクサーです。

適用対象