Gets the current element in the collection.
Namespace: Spire.Pdf.WidgetAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
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
ObjectReturn Value
ObjectThe current element in the collection.
Implements
IEnumerator..::..Current
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | The enumerator is positioned before the first element of the collection or after the last element. |