## LinkedList::AddLast(const SharedPtr\<LinkedListNode\<T\>\>\&) method


Ajoute **newNode** à la fin de la liste.

```cpp
void System::Collections::Generic::LinkedList<T>::AddLast(const SharedPtr<LinkedListNode<T>> &newNode)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| newNode | const SharedPtr\<LinkedListNode\<T\>\>\& | Nouveau nœud à ajouter. |

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LinkedListNode](../../linkedlistnode/)
* Class [LinkedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## LinkedList::AddLast(const T\&) method


Ajoute **element** à la fin de la liste.

```cpp
SharedPtr<LinkedListNode<T>> System::Collections::Generic::LinkedList<T>::AddLast(const T &element)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| element | const T\& | Élément à ajouter. |

### ReturnValue

Nouveau nœud.

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LinkedListNode](../../linkedlistnode/)
* Class [LinkedList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
