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


Ajoute **newNode** après **node** de la liste.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| nœud | const SharedPtr\<LinkedListNode\<T\>\>\& | Nœud après lequel insérer |
| 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::AddAfter(const SharedPtr\<LinkedListNode\<T\>\>\&, const T\&) method


Ajoute **element** après **node** de la liste.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| nœud | const SharedPtr\<LinkedListNode\<T\>\>\& | Nœud après lequel insérer |
| 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++](../../../)
