TryGetValue Method
Gets the value associated with the specified key. If the key is not found, the value returned is default value for the type.
Syntax
System.bool TryGetValue(
TKey key,
out TValue value
)Function TryGetValue( _
ByVal key As TKey, _
ByRef value As TValue _
) As System.BooleanParameters
| Name | Description |
|---|---|
| key | |
| value |
Return Value
true if the an element with the specified key exists; otherwise, false