Gets or sets the String element at the specified index.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
string this[ int index ] { get; set; } |
Visual Basic |
---|
Default Property Item ( index As Integer ) As String Get Set |
Parameters
- index
- Type: System..::..Int32
The zero-based index of the String element to get or set.
Property Value
Type: StringThe String element at the specified index.
Remarks
Please refer to Item[([( Int32])]) for details.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |
System..::..NotSupportedException | The property is set and the IStringList is read-only. |