Click or drag to resize

IReadOnlyDictionaryGetObject 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-b0295
Syntax
C#
Object GetObject(
	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