Creates an immutable snapshot of a part of this text source.
Unlike all other methods in this interface, this method is thread-safe.

C# | Visual Basic | Visual C++ |
public ITextSource CreateSnapshot( int offset, int length )
Public Function CreateSnapshot ( _ offset As Integer, _ length As Integer _ ) As ITextSource
public: virtual ITextSource^ CreateSnapshot( int offset, int length ) sealed
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238