Removes the first occurrence of a specific object from the
ICollection.
Syntax
Visual Basic (Declaration) | |
---|
Public Function Remove( _
ByVal item As T _
) As Boolean |
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
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