Click or drag to resize

ContractedDictionaryTryGetValueT Method (String, T)

Tries to get the value of the specified key

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public bool TryGetValue<T>(
	string key,
	out T value
)

Parameters

key
Type: SystemString
The key to check
value
Type: T
On success, stores the value

Type Parameters

T
The type of object to store in value

Return Value

Type: Boolean
true, if key's value was retrieved, false otherwise.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if an incorrect type was specified in T
See Also