Click or drag to resize
CollectionTRemove Method

Namespace: System.Collections.ObjectModel
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public bool Remove(
	T item
)

Parameters

item
Type: T
The object to remove from the CollectionT. The value can be null for reference types.

Return Value

Type: Boolean
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the original CollectionT.
See Also