OptionsDictionaryTryGetValue Method |
Gets the value associated with the specified key.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax public bool TryGetValue(
string key,
out Object value
)
Parameters
- key
- Type: SystemString
The key whose value to get. - value
- Type: SystemObject
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
Type:
Booleantrue if the object that implements
IDictionaryTKey, TValue contains an element with the specified key; otherwise, false.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)Exceptions See Also