'Declaration Public Function TryGetValue( _ ByVal key As Keys, _ ByRef value As String _ ) As Boolean
'Usage Dim instance As ShortcutDictionary Dim key As Keys Dim value As String Dim value As Boolean value = instance.TryGetValue(key, value)
Parameters
- key
- The key whose value to get.
- value
- This method returns the value associated with the specified key, if the key is found; otherwise, this method returns the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
true if the collection contains an element with the specified key; otherwise, false.