Gets or sets the NameValueEntry 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# |
---|
NameValueEntry this[ int index ] { get; set; } |
Visual Basic |
---|
Default Property Item ( index As Integer ) As NameValueEntry Get Set |
Parameters
- index
- Type: System..::..Int32
The zero-based index of the NameValueEntry element to get or set.
Property Value
Type: NameValueEntryThe NameValueEntry 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 IStringStringList is read-only. |