WeakReferenceCollection<(Of <(<'T>)>)>..::..Remove Method

Removes the indicated item from the array

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public bool Remove(
	T item
)
Public Function Remove ( _
	item As T _
) As Boolean

Parameters

item
Type: T
The object to remove from the [ICollection{T}].

Return Value

Returns true if the collection previously contained the item

Exceptions


ExceptionCondition
[ArgumentNullException]item

Remarks


If an item appears more than once only the first instance will be removed.