Editar

Compartir a través de


CodeStatementCollection.Item[Int32] Property

Definition

Gets or sets the CodeStatement object at the specified index in the collection.

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

Parameters

index
Int32

The index of the collection to access.

Property Value

A CodeStatement 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