Click or drag to resize

DocumentGetValue 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-b0713
Syntax
C#
public Object GetValue(
	string key
)

Parameters

key
Type: SystemString
The key to check the value for

Return Value

Type: Object
The contained value, or null

Implements

IDictionaryObjectGetValue(String)
Remarks
This method should be avoided for numeric types, whose underlying representation is subject to change and thus InvalidCastExceptions
See Also