Click or drag to resize

IDictionaryObjectGetValue Method

Gets the value of a given key as an untyped object

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
Syntax
C#
Object GetValue(
	string key
)

Parameters

key
Type: SystemString
The key to check the value for

Return Value

Type: Object
The contained value, or null
Remarks
This method should be avoided for numeric types, whose underlying representation is subject to change and thus InvalidCastExceptions
See Also