IList<TValue>.splice Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
splice(ContainerBidirectionalIterator<TValue>, IList<TValue>, ContainerBidirectionalIterator<TValue>, ContainerBidirectionalIterator<TValue>) |
Removes the range of elements [ |
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
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
The position in the container before which to splice.
- _Right
- IList<TValue>
The container to splice from.
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
The position in the container before which to splice.
- _Right
- IList<TValue>
The container to splice from.
The beginning position of the range of elements to splice.
The first position beyond the range of elements to splice.