Gets the current value from the enumerator.
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Property Value
Type: ObjectThe current value from the enumerator.
Implements
IDictionaryEnumeratorValueExceptions
Exception | Condition |
---|---|
InvalidOperationException | The collection is empty and Current cannot be positioned over a valid location. |
Remarks
Remarks
As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore Value will throw an InvalidOperationException.
See Also