Click or drag to resize

Result Class

A class representing information about a "row" in the result of an IQuery
Inheritance Hierarchy
SystemObject
  Couchbase.Lite.QueryResult

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
public sealed class Result : IArray, 
	IArrayFragment, IEnumerable<Object>, IEnumerable, IDictionaryObject, 
	IDictionaryFragment, IEnumerable<KeyValuePair<string, Object>>

The Result type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of entries in the result
Public propertyItemInt32
Gets the value of the given index, or lack thereof, wrapped inside of a IFragment
Public propertyItemString
Gets the value of the given key, or lack thereof, wrapped inside of a IFragment
Public propertyKeys
Gets all the keys held by this dictionary
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetArray(Int32)
Gets the value at the given index as a read only array
Public methodGetArray(String)
Gets the value of a given key as an IArray
Public methodGetBlob(Int32)
Gets the value at the given index as a Blob
Public methodGetBlob(String)
Gets the value of a given key as a Blob
Public methodGetBoolean(Int32)
Gets the value at the given index as a Boolean
Public methodGetBoolean(String)
Gets the value of a given key as a Boolean
Public methodGetDate(Int32)
Gets the value at the given index as a DateTimeOffset
Public methodGetDate(String)
Gets the value of a given key as a DateTimeOffset
Public methodGetDictionary(Int32)
Gets the value at the given index as a DictionaryObject
Public methodGetDictionary(String)
Gets the value of a given key as a readonly dictionary
Public methodGetDouble(Int32)
Gets the value at the given index as a Double
Public methodGetDouble(String)
Gets the value of a given key as a Double
Public methodGetFloat(Int32)
Gets the value at the given index as a Single
Public methodGetFloat(String)
Gets the value of a given key as a Single
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt(Int32)
Gets the value at the given index as an Int32
Public methodGetInt(String)
Gets the value of a given key as an Int32
Public methodGetLong(Int32)
Gets the value at the given index as an Int64
Public methodGetLong(String)
Gets the value of a given key as an Int64
Public methodGetString(Int32)
Gets the value at the given index as a String
Public methodGetString(String)
Gets the value of a given key as a String
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(Int32)
Gets the value at the given index as an untyped object
Public methodGetValue(String)
Gets the value of a given key as an untyped object
Public methodToDictionary
Public methodToList
Converts the contents of the array to a .NET list type
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also