'Usage
Dim instance As _TokenInfoCollection Dim key As String Dim item As Object Dim value As Boolean value = instance.TryGetValue(key, item)
Parameters
- key
- The key of the item to search in the collection.
The value of this parameter can be
null
(Nothing
in Visual Basic). - item
- When this method returns
true
, the item from the collection that matches the provided key; when this method returnsfalse
, thedefault
value for the type of the collection.The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
true
if an item for the specified key was found in the collection; otherwise, false
.