Click or drag to resize

ResultGetInt Method (String)

Gets the value of a given key as an Int32

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
public int GetInt(
	string key
)

Parameters

key
Type: SystemString
The key to check the value for

Return Value

Type: Int32
The contained value, or its converted equivalent

Implements

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