Gets the current String 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#
string Current { get; }
Visual Basic
ReadOnly Property Current As String
	Get

Property Value

Type: String
The current String 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