Gets the current NameValueEntry element in the collection.
Namespace: CodeSmith.CustomPropertiesAssembly: 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: NameValueEntryThe 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
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. |