Returns a copy of this sequence where a slice of its elements is replaced by a patch sequence.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Parameters
- from
- Type: System Int32
The index of the first replaced element.
- patch
- Type: System.Collections.Generic IEnumerable T
The elements with which to replace this sequence's slice.
- replaced
- Type: System Int32
The number of elements to delete from this sequence.
Return Value
Type: ISequence TA new sequence consisting of all elements of this sequence except that replaced elements starting from from are replaced by patch.
See Also