Gets the value associated with the specified key.
            
            
            
            
            
            
            
            public bool TryGetValue( 
    ,
   out  
)
             
        
            
            'Declaration
 
Public Function TryGetValue( _
   ByVal  As , _
   ByRef  As  _
) As Boolean
             
        
            
            'Usage
 
Dim instance As DictionaryWithEvents(Of TKey,TValue)
Dim key As 
Dim value As 
Dim value As Boolean
 
value = instance.TryGetValue(key, value)
             
        
            
        
            
        
            
            public: bool TryGetValue( 
    ,
   [PARAMFLAG::Out]  
) 
             
        
            
            public:
bool TryGetValue( 
    ,
   [Out]  
) 
             
        
             
        
            Parameters
- key
- The key of the value to get.
- value
- When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
true if the 
DictionaryWithEvents<TKey,TValue> contains an element with the specified key; otherwise, false.