Gets the current NameValueEntry element in the collection.

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

Syntax

C#
NameValueEntry Current { get; }
Visual Basic
ReadOnly Property Current As NameValueEntry
	Get

Property Value

Type: NameValueEntry
The current NameValueEntry element in the collection.

Remarks

Please refer to Current for details, but note that Current fails if the collection was modified since the last successful call to MoveNext()()()() or Reset()()()().

Exceptions

ExceptionCondition
System..::..InvalidOperationException

The enumerator is positioned before the first element of the collection or after the last element.

-or-

The collection was modified after the enumerator was created.

See Also