LinkedList<T>::AddBefore Method

 

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

Namespace:   System.Collections.Generic
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAddBefore(LinkedListNode<T>^, T)

Adds a new node containing the specified value before the specified existing node in the LinkedList<T>.

System_CAPS_pubmethodAddBefore(LinkedListNode<T>^, LinkedListNode<T>^)

Adds the specified new node before the specified existing node in the LinkedList<T>.

Return to top
Show: