AValueHelper..::..TryGetValue Method
Overload List
Name | Description | |
---|---|---|
![]() ![]() |
TryGetValue<(Of <<'(T, R>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, R%) |
Returns the converted value based on R, if possible, only if there is a match based on matchValue and this AValue's Value.
If the matched value cannot be converted to R, this will return false.
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
|
![]() ![]() |
TryGetValue<(Of <<'(T, R>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, R) |
Returns the converted value based on R, if possible, only if there is a match based on matchValue and this AValue's Value.
If the matched value cannot be converted to R, this will return false.
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
|
![]() ![]() |
TryGetValue<(Of <<'(T>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, 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
|
![]() ![]() |
TryGetValue<(Of <<'(T>)>>)(IEnumerable<(Of <<'(AValue>)>>), T, Boolean) |
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
|