System::Collections::Generic::LinkedList::AddFirst method
LinkedList::AddFirst(const SharedPtr<LinkedListNode<T>>&) method
Adds newNode to the beginning of the list.
void System::Collections::Generic::LinkedList<T>::AddFirst(const SharedPtr<LinkedListNode<T>> &newNode)
Parameter | Type | Description |
---|---|---|
newNode | const SharedPtr<LinkedListNode<T>>& | New node to add. |
See Also
- Typedef SharedPtr
- Class LinkedListNode
- Class LinkedList
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++
LinkedList::AddFirst(const T&) method
Adds element to the beginning of the list.
SharedPtr<LinkedListNode<T>> System::Collections::Generic::LinkedList<T>::AddFirst(const T &element)
Parameter | Type | Description |
---|---|---|
element | const T& | Element to add. |
ReturnValue
New node.
See Also
- Typedef SharedPtr
- Class LinkedListNode
- Class LinkedList
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++