Replaces count elements starting at elementIndex with the specified elements.
The replacement operation must preserve the document length, but may change the visual length.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void ReplaceElement( int elementIndex, int count, params VisualLineElement[] newElements )
Public Sub ReplaceElement ( _ elementIndex As Integer, _ count As Integer, _ ParamArray newElements As VisualLineElement() _ )
public: void ReplaceElement( int elementIndex, int count, ... array<VisualLineElement^>^ newElements )
Parameters
Remarks
This method may only be called by line transformers.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238