Inserts new elemetns into this rope.
Runs in O(lg N + M), where N is the length of this rope and M is the number of new elements.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void InsertRange( int index, IEnumerable<T> newElements )
Public Sub InsertRange ( _ index As Integer, _ newElements As IEnumerable(Of T) _ )
public: void InsertRange( int index, IEnumerable<T>^ newElements )
Parameters
- index (Int32)
- newElements (IEnumerable<(Of <(<'T>)>)>)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | newElements is null. |
ArgumentOutOfRangeException | index or length is outside the valid range. |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238