Click or drag to resize

IResult Interface

Provides access to the result as an IEnumerableT of IRecords. The records in the result is lazily retrieved and could only be visited once.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver.Simple (in Neo4j.Driver.Simple.dll) Version: 4.1.0
Syntax
public interface IResult : IEnumerable<IRecord>, 
	IEnumerable

The IResult type exposes the following members.

Properties
  NameDescription
Public propertyKeys
Gets the keys in the result.
Top
Methods
  NameDescription
Public methodConsume
Consume the entire result, yielding a summary of it. Calling this method exhausts the result. If you want to obtain the summary without discarding the records, use ToListTSource(IEnumerableTSource) to buffer all unconsumed records into memory instead.
Public methodGetEnumerator (Inherited from IEnumerableIRecord.)
Public methodPeek
Investigate the next upcoming record without changing the current position in the result.
Top
Remarks
Calling ToListTSource(IEnumerableTSource) will enumerate the entire stream.
See Also