Class Parameters
A class which contains parameters for an IQuery
Inheritance
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 |
---|---|---|
System. |
key | The key to lookup |
Returns
Type | Description |
---|---|
System. |
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 |
---|---|---|
System. |
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, Boolean)
Sets a System.
Declaration
public Parameters SetBoolean(string name, bool value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the key to set |
System. |
value | The value to set |
Returns
Type | Description |
---|---|
Parameters | The parameters object for further processing |
SetDate(String, DateTimeOffset)
Sets a System.
Declaration
public Parameters SetDate(string name, DateTimeOffset value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the key to set |
System. |
value | The value to set |
Returns
Type | Description |
---|---|
Parameters | The parameters object for further processing |
SetDouble(String, Double)
Sets a System.
Declaration
public Parameters SetDouble(string name, double value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the key to set |
System. |
value | The value to set |
Returns
Type | Description |
---|---|
Parameters | The parameters object for further processing |
SetFloat(String, Single)
Sets a System.
Declaration
public Parameters SetFloat(string name, float value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the key to set |
System. |
value | The value to set |
Returns
Type | Description |
---|---|
Parameters | The parameters object for further processing |
SetInt(String, Int32)
Sets an System.
Declaration
public Parameters SetInt(string name, int value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the key to set |
System. |
value | The value to set |
Returns
Type | Description |
---|---|
Parameters | The parameters object for further processing |
SetLong(String, Int64)
Sets an System.
Declaration
public Parameters SetLong(string name, long value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the key to set |
System. |
value | The value to set |
Returns
Type | Description |
---|---|
Parameters | The parameters object for further processing |
SetString(String, String)
Sets a System.
Declaration
public Parameters SetString(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the key to set |
System. |
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 |
---|---|---|
System. |
name | The name of the key to set |
System. |
value | The value to set |
Returns
Type | Description |
---|---|
Parameters | The parameters object for further processing |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |