Population<TSolution, TCandidate>.Remove Method
Removes the first occurrence of a specific object from the ICollection<T>.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
public bool Remove(
TCandidate item
)
Parameters
- item TCandidate
- The object to remove from the ICollection<T>.
Return Value
Booleantrue if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.
Implements
ICollection<T>.Remove(T)Exceptions
Not | The ICollection<T> is read-only. |