ITextSnapshot Methods
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | CopyTo(Int32, array<Char>^, Int32, Int32) | Copies a range of text to a character array. |
![]() | CreateTrackingPoint(Int32, PointTrackingMode) | Creates a ITrackingPoint in this snapshot. |
![]() | CreateTrackingPoint(Int32, PointTrackingMode, TrackingFidelityMode) | Creates a ITrackingPoint in this snapshot. |
![]() | CreateTrackingSpan(Int32, Int32, SpanTrackingMode) | Creates a ITrackingSpan in this snapshot. |
![]() | CreateTrackingSpan(Int32, Int32, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this snapshot. |
![]() | CreateTrackingSpan(Span, SpanTrackingMode) | Creates a ITrackingSpan in this snapshot. |
![]() | CreateTrackingSpan(Span, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this snapshot. |
![]() | GetLineFromLineNumber(Int32) | Gets an ITextSnapshotLine for the given line number. |
![]() | GetLineFromPosition(Int32) | Gets an ITextSnapshotLine for a line at the given position. |
![]() | GetLineNumberFromPosition(Int32) | Gets the number of the line that contains the character at the specified position. |
![]() | GetText() | Gets all the text in the snapshot. |
![]() | GetText(Int32, Int32) | Gets text from the snapshot starting at startIndex and having a length equal to length. |
![]() | GetText(Span) | Gets text from the snapshot starting at the beginning of the span and having a length equal to the length of the span. |
![]() | ToCharArray(Int32, Int32) | Converts a range of text to a character array. |
![]() | Write(TextWriter^) | Writes the contents of the snapshot. |
![]() | Write(TextWriter^, Span) | Writes a substring of the contents of the snapshot. |
