Gets a NameValueEntry containing both the key and the value of the current dictionary entry.

Namespace: CodeSmith.CustomProperties
Assembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
NameValueEntry Entry { get; }
Visual Basic
ReadOnly Property Entry As NameValueEntry
	Get

Property Value

Type: NameValueEntry
A NameValueEntry containing both the key and the value of the current dictionary entry.

Remarks

Please refer to Entry for details, but note that Entry 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 dictionary or after the last element.

-or-

The dictionary was modified after the enumerator was created.

See Also