Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public bool Remove(
	T item
)
Visual Basic
Public Function Remove ( 
	item As T
) As Boolean

Parameters

item
Type: T
The object to remove from the ICollection<(Of <(<'T>)>)>.

Return Value

Type: Boolean
true if item was successfully removed from the ICollection<(Of <(<'T>)>)>; otherwise, false. This method also returns false if item is not found in the original ICollection<(Of <(<'T>)>)>.

Implements

ICollection<(Of <(<'T>)>)>..::..Remove(T)

Exceptions

See Also