MoveNext Method (EventQuery)
- Last UpdatedAug 21, 2026
- 1 minute read
Loads the next data row into the QueryResult property of the history query. Can be called in a loop after the StartQuery() call until False is returned.
'Declaration
Public Function MoveNext( _
ByRef error As HistorianAccessError _
) As Boolean
'Usage
Dim instance As EventQuery
Dim error As HistorianAccessError
Dim value As Boolean
value = instance.MoveNext(error)
public bool MoveNext(
out HistorianAccessError error
)
public:
bool MoveNext(
[Out] HistorianAccessError^ error
)
Parameters
- error
- The error.
Return Value
Returns True if the next data row loaded successfully, or False otherwise.