CodeDirectiveCollection::Item Property (Int32)
.NET Framework (current version)
Gets or sets the CodeDirective object at the specified index in the collection.
Assembly: System (in System.dll)
public: property CodeDirective^ default[ int index ] { CodeDirective^ get(int index); void set(int index, CodeDirective^ value); }
Parameters
- index
-
Type:
System::Int32
The index position to access.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is outside the valid range of index positions for the collection. |
This property is an indexer that can be used to access the collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: