Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

AValue..::..TryGetValue Method (Object, AValue%)

Returns AValue, only if there is a match based on matchValue and this AValue's Value. A match occurs when any of the following happens: Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue If matchValue is a KeyValuePair, both the key and value must match Value is a String and matchValue is contained within Otherwise ValueEquals(Object) is applied against matchValue

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public bool TryGetValue(
	Object matchValue,
	out AValue resultValue
)

Parameters

matchValue
Type: Object
The value used to determine if a match occurred.
resultValue
Type: Aerospike.Database.LINQPadDriver.Extensions..::..AValue%
Returns the AValue which matched matchValue. If a match dose not occur, this will be null.

Return Value

True to indicate the match was found.

See Also


Value
[Contains{K, T}(K, T)]
[Contains{T}(T, MatchOptions)]
[ContainsKey{K}(K)]
[TryGetValue{R}(object, out R)]
[TryGetValue{R}(object, R)]