Class Parameters
A class which contains parameters for an IQuery
Inherited Members
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public sealed class Parameters
Constructors
| Improve this Doc View SourceParameters()
Default Constructor
Declaration
public Parameters()
Parameters(Parameters)
Copy constructor
Declaration
public Parameters(Parameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| Parameters | parameters | The object to copy values from |
Methods
| Improve this Doc View SourceGetValue(string)
Gets the untyped value of the given key in the parameters
Declaration
public object GetValue(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key to lookup |
Returns
| Type | Description |
|---|---|
| object | The value of the key, or |
SetBlob(string, Blob)
Sets a Blob value in the parameters
Declaration
public Parameters SetBlob(string name, Blob value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| Blob | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetBoolean(string, bool)
Sets a bool value in the parameters
Declaration
public Parameters SetBoolean(string name, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| bool | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetDate(string, DateTimeOffset)
Sets a DateTimeOffset value in the parameters
Declaration
public Parameters SetDate(string name, DateTimeOffset value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| DateTimeOffset | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetDouble(string, double)
Sets a double value in the parameters
Declaration
public Parameters SetDouble(string name, double value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| double | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetFloat(string, float)
Sets a float value in the parameters
Declaration
public Parameters SetFloat(string name, float value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| float | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetInt(string, int)
Sets an int value in the parameters
Declaration
public Parameters SetInt(string name, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| int | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetLong(string, long)
Sets an long value in the parameters
Declaration
public Parameters SetLong(string name, long value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| long | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetString(string, string)
Sets a string value in the parameters
Declaration
public Parameters SetString(string name, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| string | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
SetValue(string, object)
Sets an untyped value in the parameters
Declaration
public Parameters SetValue(string name, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the key to set |
| object | value | The value to set |
Returns
| Type | Description |
|---|---|
| Parameters | The parameters object for further processing |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |