Gets or sets the value associated with the specified key.
            
            
            
            
            
            
            
            public  this[ 
    
]; {get; set;}
             
        
            
            'Declaration
 
Public Default Property Item( _
   ByVal  As  _
) As 
             
        
            
            'Usage
 
Dim instance As DictionaryWithEvents(Of TKey,TValue)
Dim key As 
Dim value As 
 
instance.Item(key) = value
 
value = instance.Item(key)
             
        
            
            public  this[ 
    key
]; {get; set;}
             
        
            
              this[ 
   key 
] get_Item();
 set_Item(value); 
             
        
            
            public: __property  get_Item    
;
public: __property void set_Item    ,
    
;
             
        
            
            public:
property  default [TKey^] {
    get( );
   void set ( ,  value);
}
             
        
             
        
            Parameters
- key
 
- The key of the value to get or set.
 
            
            Property Value
The value associated with the specified key. If the specified key is not found, a get operation throws a 
System.Collections.Generic.KeyNotFoundException, and a set operation creates a new element with the specified key.
 
            
            
            
            
            Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2