Struct QueryArgument
A type that can represent any valid query argument type. It is typically used when filtering
a Realm collection using the string-based query language - e.g. in
Filter<T>(IQueryable<T>, string, params Query
Namespace: Realms
Assembly: Realm.dll
Syntax
public readonly struct QueryArgument
Methods
| Edit this page View SourceToString()
Returns a string representation of the value.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of the value. |
Overrides
Operators
| Edit this page View Sourceimplicit operator QueryArgument(Decimal128)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(Decimal128 value)
Parameters
Type | Name | Description |
---|---|---|
Decimal128 | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(ObjectId)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(ObjectId value)
Parameters
Type | Name | Description |
---|---|---|
Object |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(GeoShapeBase?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(GeoShapeBase? value)
Parameters
Type | Name | Description |
---|---|---|
Geo |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<byte>)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<byte> value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<short>)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<short> value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<int>)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<int> value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<long>)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<long> value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmObjectBase?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmObjectBase? value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmValue)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmValue value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(bool)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(byte)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(byte value)
Parameters
Type | Name | Description |
---|---|---|
byte | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(byte[]?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(byte[]? value)
Parameters
Type | Name | Description |
---|---|---|
byte[] | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(char)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(char value)
Parameters
Type | Name | Description |
---|---|---|
char | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(DateTimeOffset)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(DateTimeOffset value)
Parameters
Type | Name | Description |
---|---|---|
Date |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(decimal)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(decimal value)
Parameters
Type | Name | Description |
---|---|---|
decimal | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(double)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(double value)
Parameters
Type | Name | Description |
---|---|---|
double | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(Guid)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(Guid value)
Parameters
Type | Name | Description |
---|---|---|
Guid | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(short)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(short value)
Parameters
Type | Name | Description |
---|---|---|
short | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(int)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(int value)
Parameters
Type | Name | Description |
---|---|---|
int | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(long)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(long value)
Parameters
Type | Name | Description |
---|---|---|
long | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(Decimal128?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(Decimal128? value)
Parameters
Type | Name | Description |
---|---|---|
Decimal128? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(ObjectId?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(ObjectId? value)
Parameters
Type | Name | Description |
---|---|---|
Object |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<byte>?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<byte>? value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<short>?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<short>? value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<int>?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<int>? value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(RealmInteger<long>?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(RealmInteger<long>? value)
Parameters
Type | Name | Description |
---|---|---|
Realm |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(bool?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(bool? value)
Parameters
Type | Name | Description |
---|---|---|
bool? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(byte?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(byte? value)
Parameters
Type | Name | Description |
---|---|---|
byte? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(char?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(char? value)
Parameters
Type | Name | Description |
---|---|---|
char? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(DateTimeOffset?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(DateTimeOffset? value)
Parameters
Type | Name | Description |
---|---|---|
Date |
value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(decimal?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(decimal? value)
Parameters
Type | Name | Description |
---|---|---|
decimal? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(double?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(double? value)
Parameters
Type | Name | Description |
---|---|---|
double? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(Guid?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(Guid? value)
Parameters
Type | Name | Description |
---|---|---|
Guid? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(short?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(short? value)
Parameters
Type | Name | Description |
---|---|---|
short? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(int?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(int? value)
Parameters
Type | Name | Description |
---|---|---|
int? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(long?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(long? value)
Parameters
Type | Name | Description |
---|---|---|
long? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(float?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(float? value)
Parameters
Type | Name | Description |
---|---|---|
float? | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(float)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |
implicit operator QueryArgument(string?)
Implicitly constructs a Query
Declaration
public static implicit operator QueryArgument(string? value)
Parameters
Type | Name | Description |
---|---|---|
string | value | The value to store in the Query |
Returns
Type | Description |
---|---|
Query |
A Query |