CodeAttributeDeclarationCollection.Item[Int32] Tulajdonság

Definíció

Lekéri vagy beállítja az CodeAttributeDeclaration objektumot a megadott indexen.

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

Paraméterek

index
Int32

A hozzáférést biztosító gyűjtemény indexe.

Tulajdonság értéke

A CodeAttributeDeclaration minden érvényes indexnél.

Kivételek

A index paraméter kívül esik a gyűjtemény érvényes indextartományán.

Megjegyzések

Ez a tulajdonság egy indexelő, amely a gyűjtemény eléréséhez használható.

A következőre érvényes:

Lásd még