Gets the current String element in the collection.
Namespace: CodeSmith.CustomPropertiesAssembly: 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: StringThe 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
Exception | Condition |
---|---|
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. |