<PackageReference Include="Relativity.API" Version="19.5.0" />

IResult

public interface IResult
A single result of query data represented by fields requested.
object this[IFieldRef fieldRef] { get; }

A getter that retrieves the value of a field by IFieldRef.

object this[Guid fieldGuid] { get; }

A getter that retrieves the value of a field by Guid.

object this[string fieldName] { get; }

A getter that retrieves the value of a field by name.

bool Contains(IFieldRef fieldRef)

A check to see if the field represented by the IFieldRef is part of the result.

bool Contains(Guid fieldGuid)

A check to see if the field represented by the provided Guid is part of the result.

bool Contains(string fieldName)

A check to see if the field represented by the provided name is part of the result.

bool TryGetValue(IFieldRef fieldRef, out object value)

Conditionally will populate the value with the field data represented by the IFieldRef. If the field is not present, null will be populated instead.

bool TryGetValue(Guid fieldGuid, out object value)

Conditionally will populate the value with the field data represented by the Guid. If the field is not present, null will be populated instead.

bool TryGetValue(string fieldName, out object value)

Conditionally will populate the value with the field data represented by the name. If the field is not present, null will be populated instead.