Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
Document Class
Document Methods
Contains Method
GetArray Method
GetBlob Method
GetBoolean Method
GetDate Method
GetDictionary Method
GetDouble Method
GetEnumerator Method
GetFloat Method
GetInt Method
GetLong Method
GetObject Method
GetString Method
Remove Method
Set Method
ToDictionary Method
ToString Method
Document
GetDouble Method
Gets the value of a given key as a
Double
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0364
Syntax
C#
Copy
public
override
double
GetDouble
(
string
key
)
Parameters
key
Type:
System
String
The key to check the value for
Return Value
Type:
Double
The contained value, or its converted equivalent
Implements
IReadOnlyDictionary
GetDouble(String)
IReadOnlyDictionary
GetDouble(String)
Remarks
true
will be converted to 1.0, and everything else that is non-numeric will be 0.0
See Also
Reference
Document Class
Couchbase.Lite Namespace