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