Result Class |
Namespace: Couchbase.Lite.Query
public sealed class Result : IArray, IArrayFragment, IEnumerable<Object>, IEnumerable, IDictionaryObject, IDictionaryFragment, IEnumerable<KeyValuePair<string, Object>>
The Result type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of entries in the result
| |
ItemInt32 |
Gets the value of the given index, or lack thereof,
wrapped inside of a IFragment | |
ItemString |
Gets the value of the given key, or lack thereof,
wrapped inside of a IFragment | |
Keys |
Gets all the keys held by this dictionary
|
Name | Description | |
---|---|---|
Contains |
Checks if a given key is present in the dictionary
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetArray(Int32) |
Gets the value at the given index as a read only array
| |
GetArray(String) |
Gets the value of a given key as an IArray | |
GetBlob(Int32) |
Gets the value at the given index as a Blob | |
GetBlob(String) |
Gets the value of a given key as a Blob | |
GetBoolean(Int32) |
Gets the value at the given index as a Boolean | |
GetBoolean(String) |
Gets the value of a given key as a Boolean | |
GetDate(Int32) |
Gets the value at the given index as a DateTimeOffset | |
GetDate(String) |
Gets the value of a given key as a DateTimeOffset | |
GetDictionary(Int32) |
Gets the value at the given index as a DictionaryObject | |
GetDictionary(String) |
Gets the value of a given key as a readonly dictionary
| |
GetDouble(Int32) |
Gets the value at the given index as a Double | |
GetDouble(String) |
Gets the value of a given key as a Double | |
GetFloat(Int32) |
Gets the value at the given index as a Single | |
GetFloat(String) |
Gets the value of a given key as a Single | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInt(Int32) |
Gets the value at the given index as an Int32 | |
GetInt(String) |
Gets the value of a given key as an Int32 | |
GetLong(Int32) |
Gets the value at the given index as an Int64 | |
GetLong(String) |
Gets the value of a given key as an Int64 | |
GetString(Int32) |
Gets the value at the given index as a String | |
GetString(String) |
Gets the value of a given key as a String | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue(Int32) |
Gets the value at the given index as an untyped object
| |
GetValue(String) |
Gets the value of a given key as an untyped object
| |
ToDictionary |
Converts this object to a standard .NET string to object
DictionaryTKey, TValue | |
ToList |
Converts the contents of the array to a .NET list type
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |