Gets or sets the NameValueEntry element at the specified index.

Namespace: CodeSmith.CustomProperties
Assembly: 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: NameValueEntry
The NameValueEntry element at the specified index.

Remarks

Please refer to Item[([( Int32])]) for details.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

System..::..NotSupportedExceptionThe property is set and the IStringStringList is read-only.

See Also