AATreeTKey, TValueTryGetValue Method |
Searches for the specified key in the AATree.
If found returns the associated value in value out param, else this param contains DefaultValue.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public bool TryGetValue(
TKey key,
out TValue value
)
Public Function TryGetValue (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
public:
bool TryGetValue(
TKey key,
[OutAttribute] TValue% value
)
member TryGetValue :
key : 'TKey *
value : 'TValue byref -> bool
Parameters
- key
- Type: TKey
Key to search. - value
- Type: TValue
Out parameter.
Return Value
Type:
BooleanReturns true if the key is found, else returns false.
See Also