LinkListNode<T>.Advance Method

Computes the node that is n steps away from this and returns it. n can be negative to step backwards. If the resulting node is out of list, null is returned.
Public Function Advance( _ 
ByVal n As Integer
) As LinkListNode(Of T)
This language is not supported or no code example is available.
public LinkListNode<T> Advance( 
int n 
)
This language is not supported or no code example is available.
public:  
LinkListNode<T^>^ Advance( 
int n 
)
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

n
int

The number of steps to advance. Can be negative.

Return Value

LinkListNode<T>

The node n steps away, or null if out of list bounds.

.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