LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

Item Property (DictionaryWithEvents<TKey,TValue>)







The key of the value to get or set.
Gets or sets the value associated with the specified key.
Syntax
public TValue this[ 
   TKey key
]; {get; set;}
'Declaration
 
Public Default Property Item( _
   ByVal key As TKey _
) As TValue
'Usage
 
Dim instance As DictionaryWithEvents(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
 
instance.Item(key) = value
 
value = instance.Item(key)
public TValue this[ 
   TKey key
]; {get; set;}
  this[ 
   key 
] get_Item();
set_Item(value);
public: __property TValue* get_Item   TKey* key
;
public: __property void set_Item   TKey* key,
   TValue* value
;
public:
property TValue* default [TKey^] {
   TValue* get(TKey* key);
   void set (TKey* keyTValue* 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.
Requirements

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

See Also

Reference

DictionaryWithEvents<TKey,TValue> Class
DictionaryWithEvents<TKey,TValue> Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.