←Select platform

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.AddIn Assembly
Click or drag to resize