Rediger

Del via


CodeDirectiveCollection.Item[Int32] Property

Definition

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

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

Parameters

index
Int32

The index position to access.

Property Value

The CodeDirective at the index position.

Exceptions

index is outside the valid range of index positions for the collection.

Remarks

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

Applies to