LinkList<T>.Erase Method

Removes a node from the linked list and returns the new node that is in the same position as the one removed.
Public Function Erase( _ 
ByVal nod As LinkListNode(Of T) _ 
) As LinkListNode(Of T)
This language is not supported or no code example is available.
public LinkListNode<T> Erase( 
LinkListNode<T> nod 
)
This language is not supported or no code example is available.
public:  
LinkListNode<T^>^ Erase( 
LinkListNode<T^>^ nod 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

nod
LinkListNode<T>

The node to erase, which has to be a node of this list.

Return Value

LinkListNode<T>

The node that is in the same place as the one removed, or null if the last node was erased.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition