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


Aggiunge **newNode** alla fine della lista.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newNode | const SharedPtr\<LinkedListNode\<T\>\>\& | Nuovo nodo da aggiungere. |

## Vedi anche

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


Aggiunge **element** alla fine della lista.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| elemento | const T\& | Elemento da aggiungere. |

### ReturnValue

Nuovo nodo.

## Vedi anche

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