IProjectionSnapshot 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.(Inherited from ITextSnapshot.) |
![]() | CreateTrackingPoint(Int32, PointTrackingMode) | Creates a ITrackingPoint in this snapshot.(Inherited from ITextSnapshot.) |
![]() | CreateTrackingPoint(Int32, PointTrackingMode, TrackingFidelityMode) | Creates a ITrackingPoint in this snapshot.(Inherited from ITextSnapshot.) |
![]() | CreateTrackingSpan(Int32, Int32, SpanTrackingMode) | Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.) |
![]() | CreateTrackingSpan(Int32, Int32, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.) |
![]() | CreateTrackingSpan(Span, SpanTrackingMode) | Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.) |
![]() | CreateTrackingSpan(Span, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this snapshot.(Inherited from ITextSnapshot.) |
![]() | GetLineFromLineNumber(Int32) | Gets an ITextSnapshotLine for the given line number.(Inherited from ITextSnapshot.) |
![]() | GetLineFromPosition(Int32) | Gets an ITextSnapshotLine for a line at the given position.(Inherited from ITextSnapshot.) |
![]() | GetLineNumberFromPosition(Int32) | Gets the number of the line that contains the character at the specified position.(Inherited from ITextSnapshot.) |
![]() | GetMatchingSnapshot(ITextBuffer^) | Gets the snapshot of the specified text buffer that corresponds to this snapshot. |
![]() | GetSourceSpans() | Gets all the source spans for the projection snapshot. |
![]() | GetSourceSpans(Int32, Int32) | Gets a read-only collection of source snapshot spans starting at the specified location of the span. |
![]() | GetText() | Gets all the text in the snapshot.(Inherited from ITextSnapshot.) |
![]() | GetText(Int32, Int32) | Gets text from the snapshot starting at startIndex and having a length equal to length.(Inherited from ITextSnapshot.) |
![]() | 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.(Inherited from ITextSnapshot.) |
![]() | MapFromSourceSnapshot(SnapshotPoint, PositionAffinity) | Maps from a snapshot point in one of the source snapshots to the corresponding position in the projection snapshot. |
![]() | MapFromSourceSnapshot(SnapshotSpan) | Maps a snapshot span of a source buffer to a list of spans of the projection snapshot. |
![]() | MapToSourceSnapshot(Int32) | Maps a position in the projection snapshot to the corresponding position in a source snapshot. |
![]() | MapToSourceSnapshot(Int32, PositionAffinity) | Maps a position in the projection snapshot to the corresponding position in a source snapshot. |
![]() | MapToSourceSnapshots(Int32) | Maps a position in the projection snapshot to the corresponding position in one or more source snapshots. |
![]() | MapToSourceSnapshots(Span) | Maps a span of the current projection snapshot to a list of snapshot spans belonging to source snapshots. The resulting spans will be ordered by the order of their appearance in the projection. |
![]() | ToCharArray(Int32, Int32) | Converts a range of text to a character array.(Inherited from ITextSnapshot.) |
![]() | Write(TextWriter^) | Writes the contents of the snapshot.(Inherited from ITextSnapshot.) |
![]() | Write(TextWriter^, Span) | Writes a substring of the contents of the snapshot.(Inherited from ITextSnapshot.) |
