LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)
LEAD Technologies, Inc

Remove(TKey) Method






The key of the element to remove.
Removes the element with the specified key from the IDictionary.
Syntax
public virtual bool Remove( 
   TKey key
)
'Declaration
 
Public Overloads Overridable Function Remove( _
   ByVal key As TKey _
) As Boolean
'Usage
 
Dim instance As ThreadSafeDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As Boolean
 
value = instance.Remove(key)
public virtual bool Remove( 
   TKey key
)
 function Leadtools.Dicom.AddIn.ThreadSafeDictionary.Remove(`0)( 
   key 
)
public:
virtual bool Remove( 
   TKey^ key
) 

Parameters

key
The key of the element to remove.

Return Value

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionkey is null.
System.NotSupportedExceptionThe IDictionary is read-only.
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

ThreadSafeDictionary<TKey,TValue> Class
ThreadSafeDictionary<TKey,TValue> Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features