Gets the String key at the specified index of the NameValueCollection.

Namespace: CodeSmith.CustomProperties
Assembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public virtual string GetKey(
	int index
)
Visual Basic
Public Overridable Function GetKey ( 
	index As Integer
) As String

Parameters

index
Type: System..::..Int32
The zero-based index of the String key to get.

Return Value

Type: String
The String key at the specified index of the NameValueCollection.

Remarks

Please refer to GetKey(Int32) for details.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

See Also