編集

次の方法で共有


CodeAttributeDeclarationCollection.Item[Int32] Property

Definition

Gets or sets the CodeAttributeDeclaration object at the specified index.

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

Parameters

index
Int32

The index of the collection to access.

Property Value

A CodeAttributeDeclaration at each valid index.

Exceptions

The index parameter is outside the valid range of indexes for the collection.

Remarks

This property is an indexer that can be used to access the collection.

Applies to

See also