Share via


CodeAttributeDeclarationCollection.Item[Int32] プロパティ

定義

指定したインデックスの位置にある CodeAttributeDeclaration オブジェクトを取得または設定します。

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

パラメーター

index
Int32

アクセスするコレクションのインデックス。

プロパティ値

有効な各インデックスにある CodeAttributeDeclaration

例外

index パラメーターが、コレクションのインデックスの有効範囲外です。

注釈

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

適用対象

こちらもご覧ください