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


Tar bort noden från listan.

```cpp
void System::Collections::Generic::LinkedList<T>::Remove(const SharedPtr<LinkedListNode<T>> &node)
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| node | const SharedPtr\<LinkedListNode\<T\>\>\& | Nod att ta bort. |

## Se även

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LinkedListNode](../../linkedlistnode/)
* Class [LinkedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
## LinkedList::Remove(const T\&) method


Tar bort den första förekomsten av det specificerade **element** från listan.

```cpp
bool System::Collections::Generic::LinkedList<T>::Remove(const T &element) override
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| element | const T\& | Element att ta bort. |

### ReturnValue

Sant om **element** hittades och togs bort, falskt annars.

## Se även

* Class [LinkedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
