Click or drag to resize

IPropertyContainerGetBoolean Method

Gets the Boolean for the given key

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
bool GetBoolean(
	string key
)

Parameters

key
Type: SystemString
The key to check

Return Value

Type: Boolean
The value stored in the given key, or false if it doesn't exist or is not a Boolean
Exceptions
ExceptionCondition
ThreadSafetyViolationExceptionThrown if an invalid access attempt is made
See Also