System::Collections::Generic::LinkedList::Remove method

LinkedList::Remove(const T&) method

Removes first occurance of the specified element from list.

bool System::Collections::Generic::LinkedList<T>::Remove(const T &element) override
ParameterTypeDescription
elementconst T&Element to remove.

ReturnValue

True if element was found and removed, false otherwise.

See Also

LinkedList::Remove(const SharedPtr<LinkedListNode<T>>&) method

Removes node from list.

void System::Collections::Generic::LinkedList<T>::Remove(const SharedPtr<LinkedListNode<T>> &node)
ParameterTypeDescription
nodeconst SharedPtr<LinkedListNode<T>>&Node to remove.

See Also