Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
Document Class
Document Methods
Contains Method
Dispose Method
Equals Method
GetArray Method
GetBlob Method
GetBoolean Method
GetDate Method
GetDictionary Method
GetDouble Method
GetEnumerator Method
GetFloat Method
GetHashCode Method
GetInt Method
GetLong Method
GetString Method
GetValue Method
ToDictionary Method
ToMutable Method
ToString Method
Document
GetFloat Method
Gets the value of a given key as a
Single
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
Copy
public
float
GetFloat
(
string
key
)
Parameters
key
Type:
System
String
The key to check the value for
Return Value
Type:
Single
The contained value, or its converted equivalent
Implements
IDictionaryObject
GetFloat(String)
Remarks
true
will be converted to 1.0f, and everything else that is non-numeric will be 0.0f
See Also
Reference
Document Class
Couchbase.Lite Namespace