Click or drag to resize

IResult Interface

An interface representing information about a "row" in the result of an IQuery

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax
C#
public interface IResult : IReadOnlyArray, 
	IReadOnlyArrayFragment, IEnumerable<Object>, IEnumerable, IReadOnlyDictionary, 
	IReadOnlyDictionaryFragment, IEnumerable<KeyValuePair<string, Object>>

The IResult type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection
(Inherited from IReadOnlyArray.)
Public propertyItemInt32
Gets the value of the given index, or lack thereof, wrapped inside of a ReadOnlyFragment
(Inherited from IReadOnlyArrayFragment.)
Public propertyItemString
Gets the value of the given key, or lack thereof, wrapped inside of a ReadOnlyFragment
(Inherited from IReadOnlyDictionaryFragment.)
Public propertyKeys
Gets all the keys held by this dictionary
(Inherited from IReadOnlyDictionary.)
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
(Inherited from IReadOnlyDictionary.)
Public methodGetArray(Int32)
Gets the value at the given index as a read only array
(Inherited from IReadOnlyArray.)
Public methodGetArray(String)
Gets the value of a given key as an IReadOnlyArray
(Inherited from IReadOnlyDictionary.)
Public methodGetBlob(Int32)
Gets the value at the given index as a Blob
(Inherited from IReadOnlyArray.)
Public methodGetBlob(String)
Gets the value of a given key as a Blob
(Inherited from IReadOnlyDictionary.)
Public methodGetBoolean(Int32)
Gets the value at the given index as a Boolean
(Inherited from IReadOnlyArray.)
Public methodGetBoolean(String)
Gets the value of a given key as a Boolean
(Inherited from IReadOnlyDictionary.)
Public methodGetDate(Int32)
Gets the value at the given index as a DateTimeOffset
(Inherited from IReadOnlyArray.)
Public methodGetDate(String)
Gets the value of a given key as a DateTimeOffset
(Inherited from IReadOnlyDictionary.)
Public methodGetDictionary(Int32)
Gets the value at the given index as an IReadOnlyDictionary
(Inherited from IReadOnlyArray.)
Public methodGetDictionary(String)
Gets the value of a given key as a readonly dictionary
(Inherited from IReadOnlyDictionary.)
Public methodGetDouble(Int32)
Gets the value at the given index as a Double
(Inherited from IReadOnlyArray.)
Public methodGetDouble(String)
Gets the value of a given key as a Double
(Inherited from IReadOnlyDictionary.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableObject.)
Public methodGetFloat(Int32)
Gets the value at the given index as a Single
(Inherited from IReadOnlyArray.)
Public methodGetFloat(String)
Gets the value of a given key as a Single
(Inherited from IReadOnlyDictionary.)
Public methodGetInt(Int32)
Gets the value at the given index as an Int32
(Inherited from IReadOnlyArray.)
Public methodGetInt(String)
Gets the value of a given key as an Int32
(Inherited from IReadOnlyDictionary.)
Public methodGetLong(Int32)
Gets the value at the given index as an Int64
(Inherited from IReadOnlyArray.)
Public methodGetLong(String)
Gets the value of a given key as an Int64
(Inherited from IReadOnlyDictionary.)
Public methodGetObject(Int32)
Gets the value at the given index as an untyped object
(Inherited from IReadOnlyArray.)
Public methodGetObject(String)
Gets the value of a given key as an untyped object
(Inherited from IReadOnlyDictionary.)
Public methodGetString(Int32)
Gets the value at the given index as a String
(Inherited from IReadOnlyArray.)
Public methodGetString(String)
Gets the value of a given key as a String
(Inherited from IReadOnlyDictionary.)
Public methodToDictionary (Inherited from IReadOnlyDictionary.)
Public methodToList
Converts this object to a standard .NET collection
(Inherited from IReadOnlyArray.)
Top
See Also