LinkedList<T>.Remove Method (LinkedListNode<T>)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes the specified node from the LinkedList<T>.
Assembly: System (in System.dll)
Parameters
- node
- Type: System.Collections.Generic.LinkedListNode<T>
The LinkedListNode<T> to remove from the LinkedList<T>.
| Exception | Condition |
|---|---|
| ArgumentNullException | node is null. |
| InvalidOperationException | node is not in the current LinkedList<T>. |
Show: