Gets the current key from the enumerator.
Namespace: log4net.UtilAssembly: log4net (in log4net.dll) Version: 1.2.14.0 (1.2.14.0)
Syntax
Property Value
Type:Implements
Exceptions
| Exception | Condition |
|---|---|
| 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 Key
will throw an
InvalidOperationException.
See Also