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


Agrega **newNode** al final de la lista.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| newNode | const SharedPtr\<LinkedListNode\<T\>\>\& | Nuevo nodo a añadir. |

## Ver también

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


Agrega **element** al final de la lista.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| elemento | const T\& | Elemento a añadir. |

### ReturnValue

Nuevo nodo.

## Ver también

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