Click or drag to resize

ReadOnlyFragmentToInt Method

Gets the contained value as an Int32

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public int ToInt()

Return Value

Type: Int32
The cast contained value
Remarks
true will be converted to 1, a Double value will be rounded, and everything else non-numeric will be 0
See Also