Breyta

Deila með


IList<TValue>.splice Method

Definition

Reorders links between nodes.

Overloads

splice(ContainerBidirectionalIterator<TValue>, IList<TValue>)

Inserts the given sequence into the container before the specified position.

splice(ContainerBidirectionalIterator<TValue>, IList<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the element from the given container pointed to by _First and inserts it before the element in the controlled sequence pointed to by _Where.

splice(ContainerBidirectionalIterator<TValue>, IList<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the range of elements [_First, _Last) from the given container and inserts it before the element in the controlled sequence pointed to by _Where.

Remarks

For more information, see list::splice (STL/CLR).

splice(ContainerBidirectionalIterator<TValue>, IList<TValue>)

Inserts the given sequence into the container before the specified position.

public:
 void splice(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Where, Microsoft::VisualC::StlClr::IList<TValue> ^ _Right);
public void splice (Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Where, Microsoft.VisualC.StlClr.IList<TValue> _Right);
abstract member splice : Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> * Microsoft.VisualC.StlClr.IList<'Value> -> unit
Public Sub splice (_Where As ContainerBidirectionalIterator(Of TValue), _Right As IList(Of TValue))

Parameters

_Where
ContainerBidirectionalIterator<TValue>

The position in the container before which to splice.

_Right
IList<TValue>

The container to splice from. All elements will be removed from this container after the splice operation.

Applies to

splice(ContainerBidirectionalIterator<TValue>, IList<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the element from the given container pointed to by _First and inserts it before the element in the controlled sequence pointed to by _Where.

public:
 void splice(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Where, Microsoft::VisualC::StlClr::IList<TValue> ^ _Right, Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _First);
public void splice (Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Where, Microsoft.VisualC.StlClr.IList<TValue> _Right, Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _First);
abstract member splice : Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> * Microsoft.VisualC.StlClr.IList<'Value> * Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> -> unit
Public Sub splice (_Where As ContainerBidirectionalIterator(Of TValue), _Right As IList(Of TValue), _First As ContainerBidirectionalIterator(Of TValue))

Parameters

_Where
ContainerBidirectionalIterator<TValue>

The position in the container before which to splice.

_Right
IList<TValue>

The container to splice from.

_First
ContainerBidirectionalIterator<TValue>

The position of the element to splice.

Applies to

splice(ContainerBidirectionalIterator<TValue>, IList<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>)

Removes the range of elements [_First, _Last) from the given container and inserts it before the element in the controlled sequence pointed to by _Where.

public:
 void splice(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Where, Microsoft::VisualC::StlClr::IList<TValue> ^ _Right, Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _First, Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Last);
public void splice (Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Where, Microsoft.VisualC.StlClr.IList<TValue> _Right, Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _First, Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Last);
abstract member splice : Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> * Microsoft.VisualC.StlClr.IList<'Value> * Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> * Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> -> unit
Public Sub splice (_Where As ContainerBidirectionalIterator(Of TValue), _Right As IList(Of TValue), _First As ContainerBidirectionalIterator(Of TValue), _Last As ContainerBidirectionalIterator(Of TValue))

Parameters

_Where
ContainerBidirectionalIterator<TValue>

The position in the container before which to splice.

_Right
IList<TValue>

The container to splice from.

_First
ContainerBidirectionalIterator<TValue>

The beginning position of the range of elements to splice.

_Last
ContainerBidirectionalIterator<TValue>

The first position beyond the range of elements to splice.

Applies to