Gets the current element in the collection.

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public Object Current { get; }
Public ReadOnly Property Current As Object
	Get
public:
virtual property Object^ Current {
	Object^ get () sealed;
}
abstract Current : Object with get
override Current : Object with get

Property Value

Object

Return Value

Object
The current element in the collection.

Implements

IEnumerator..::..Current

Exceptions

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

See Also