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.

  Name Description
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft