Removes the element with the specified key from the
IDictionary.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Overridable Function Remove( _
ByVal key As TKey _
) As Boolean |
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
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also