Show / Hide Table of Contents

Class Parameters

A class which contains parameters for an IQuery

Inheritance
object
Parameters
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public sealed class Parameters

Constructors

| Improve this Doc View Source

Parameters()

Default Constructor

Declaration
public Parameters()
| Improve this Doc View Source

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 Source

GetValue(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 null if it does not exist

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX