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#
public virtual NameValueEntry this[
	int index
] { get; set; }
Visual Basic
Public Overridable 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.

Implements

IStringStringList..::..Item[([( Int32])])

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..::..NotSupportedException The property is set and the NameValueCollection is read-only.

See Also