[This is preliminary documentation and is subject to change.]

Gets the element in the collection at the current position of the enumerator.

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public TItem Current { get; }
Visual Basic
Public ReadOnly Property Current As TItem
	Get
Visual C++
public:
virtual property TItem Current {
	TItem get () sealed;
}
F#
abstract Current : 'TItem
override Current : 'TItem
JScript
final function get Current () : TItem

Return Value

The element in the collection at the current position of the enumerator.

Implements

IEnumerator<(Of <(<'T>)>)>..::..Current

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionThe enumerator is positioned before the first element of the collection or after the last element.

See Also