Class ReadResult<TRow>

Represents the result of an attempted read operation.

Inheritance
System.Object
ReadResult<TRow>
Namespace: Cesil
Assembly: Cesil.dll
Syntax
public sealed class ReadResult<TRow> : ValueType
Type Parameters
Name Description
TRow

Properties

HasValue

True if a value was read, false if not.

If false, there are no more rows to be read.

Declaration
public bool HasValue { get; }
Property Value
Type Description
System.Boolean

Value

The value read, if HasValue == true.

Throws otherwise.

Declaration
public TRow Value { get; }
Property Value
Type Description
TRow

Methods

ToString()

Returns a representation of this ReadResult struct.

Only for debugging, this value is not guaranteed to be stable.

Declaration
public override string ToString()
Returns
Type Description
System.String
In This Article
Back to top Generated by DocFX