This documentation is archived and is not being maintained.

LinkedList<T>.AddBefore Method

Adds a new node or value before an existing node in the LinkedList<T>.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method AddBefore(LinkedListNode<T>, LinkedListNode<T>) Adds the specified new node before the specified existing node in the LinkedList<T>.
Public method AddBefore(LinkedListNode<T>, T) Adds a new node containing the specified value before the specified existing node in the LinkedList<T>.
Top
Show: