Remove(KeyValuePair<TKey,TValue>) Method

Summary

Removes the first occurrence of a specific object from the ICollection.

Syntax
C#
VB
C++
public virtual bool Remove( 
   KeyValuePair<TKey, TValue> item 
) 
  
Public Overloads Overridable Function Remove( _ 
   ByVal item As KeyValuePair(Of TKey,TValue) _ 
) As Boolean 
public: 
virtual bool Remove(  
   KeyValuePair<TKey^,TValue^> item 
)  

Parameters

item
The object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe ICollection is read-only.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly