Click or drag to resize

IPropertyContainerGetFloat Method

Gets the Single for the given key

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

Parameters

key
Type: SystemString
The key to check

Return Value

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