Click or drag to resize

ReadOnlyDictionaryGetLong Method

Gets the value of a given key as an Int64

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public virtual long GetLong(
	string key
)

Parameters

key
Type: SystemString
The key to check the value for

Return Value

Type: Int64
The contained value, or its converted equivalent

Implements

IReadOnlyDictionaryGetLong(String)
Remarks
true will be converted to 1, a Double value will be rounded, and everything else non-numeric will be 0
See Also