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: 0.0.0
Syntax
C#
public interface IResult : IArray, 
	IArrayFragment, IReadOnlyCollection<Object>, IEnumerable<Object>, 
	IEnumerable, IDictionaryObject, IDictionaryFragment, IReadOnlyCollection<KeyValuePair<string, Object>>, 
	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 IReadOnlyCollectionObject.)
Public propertyItemInt32
Gets the value of the given index, or lack thereof, wrapped inside of a Fragment
(Inherited from IArrayFragment.)
Public propertyItemString
Gets the value of the given key, or lack thereof, wrapped inside of a Fragment
(Inherited from IDictionaryFragment.)
Public propertyKeys
Gets all the keys held by this dictionary
(Inherited from IDictionaryObject.)
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
(Inherited from IDictionaryObject.)
Public methodGetArray(Int32)
Gets the value at the given index as a read only array
(Inherited from IArray.)
Public methodGetArray(String)
Gets the value of a given key as an IArray
(Inherited from IDictionaryObject.)
Public methodGetBlob(Int32)
Gets the value at the given index as a Blob
(Inherited from IArray.)
Public methodGetBlob(String)
Gets the value of a given key as a Blob
(Inherited from IDictionaryObject.)
Public methodGetBoolean(Int32)
Gets the value at the given index as a Boolean
(Inherited from IArray.)
Public methodGetBoolean(String)
Gets the value of a given key as a Boolean
(Inherited from IDictionaryObject.)
Public methodGetDate(Int32)
Gets the value at the given index as a DateTimeOffset
(Inherited from IArray.)
Public methodGetDate(String)
Gets the value of a given key as a DateTimeOffset
(Inherited from IDictionaryObject.)
Public methodGetDictionary(Int32)
Gets the value at the given index as an IDictionaryObject
(Inherited from IArray.)
Public methodGetDictionary(String)
Gets the value of a given key as a readonly dictionary
(Inherited from IDictionaryObject.)
Public methodGetDouble(Int32)
Gets the value at the given index as a Double
(Inherited from IArray.)
Public methodGetDouble(String)
Gets the value of a given key as a Double
(Inherited from IDictionaryObject.)
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 IArray.)
Public methodGetFloat(String)
Gets the value of a given key as a Single
(Inherited from IDictionaryObject.)
Public methodGetInt(Int32)
Gets the value at the given index as an Int32
(Inherited from IArray.)
Public methodGetInt(String)
Gets the value of a given key as an Int32
(Inherited from IDictionaryObject.)
Public methodGetLong(Int32)
Gets the value at the given index as an Int64
(Inherited from IArray.)
Public methodGetLong(String)
Gets the value of a given key as an Int64
(Inherited from IDictionaryObject.)
Public methodGetObject(Int32)
Gets the value at the given index as an untyped object
(Inherited from IArray.)
Public methodGetObject(String)
Gets the value of a given key as an untyped object
(Inherited from IDictionaryObject.)
Public methodGetString(Int32)
Gets the value at the given index as a String
(Inherited from IArray.)
Public methodGetString(String)
Gets the value of a given key as a String
(Inherited from IDictionaryObject.)
Public methodToDictionary (Inherited from IDictionaryObject.)
Public methodToList
Converts this object to a standard .NET collection
(Inherited from IArray.)
Top
See Also