Gets the String value at the
specified index of the NameValueCollection.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# |
|---|
public virtual string GetByIndex( int index ) |
| Visual Basic |
|---|
Public Overridable Function GetByIndex ( index As Integer ) As String |
Parameters
- index
- Type: System..::..Int32
The zero-based index of the String value to get.
Return Value
Type: StringThe String value at the specified index of the NameValueCollection.
Remarks
Please refer to GetByIndex(Int32) for details.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |