System::Collections::Generic::LinkedList::AddBefore método
Contenido
[
Ocultar
]LinkedList::AddBefore(const SharedPtr<LinkedListNode<T>>&, const SharedPtr<LinkedListNode<T>>&) method
Añade newNode antes de node de la lista.
void System::Collections::Generic::LinkedList<T>::AddBefore(const SharedPtr<LinkedListNode<T>> &node, const SharedPtr<LinkedListNode<T>> &newNode)
| Parámetro | Tipo | Descripción |
|---|---|---|
| nodo | const SharedPtr<LinkedListNode<T>>& | Nodo antes del cual insertar |
| newNode | const SharedPtr<LinkedListNode<T>>& | Nuevo nodo para añadir |
Ver también
- Typedef SharedPtr
- Class LinkedListNode
- Class LinkedList
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
LinkedList::AddBefore(const SharedPtr<LinkedListNode<T>>&, const T&) method
Añade element antes de node de la lista.
SharedPtr<LinkedListNode<T>> System::Collections::Generic::LinkedList<T>::AddBefore(const SharedPtr<LinkedListNode<T>> &node, const T &element)
| Parámetro | Tipo | Descripción |
|---|---|---|
| nodo | const SharedPtr<LinkedListNode<T>>& | Nodo antes del cual insertar |
| elemento | const T& | Elemento para añadir |
ReturnValue
Nuevo nodo.
Ver también
- Typedef SharedPtr
- Class LinkedListNode
- Class LinkedList
- Namespace System::Collections::Generic
- Library Aspose.Page for C++