ITextSnapshot Methods

 

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

NameDescription
System_CAPS_pubmethodCopyTo(Int32, array<Char>^, Int32, Int32)

Copies a range of text to a character array.

System_CAPS_pubmethodCreateTrackingPoint(Int32, PointTrackingMode)

Creates a ITrackingPoint in this snapshot.

System_CAPS_pubmethodCreateTrackingPoint(Int32, PointTrackingMode, TrackingFidelityMode)

Creates a ITrackingPoint in this snapshot.

System_CAPS_pubmethodCreateTrackingSpan(Int32, Int32, SpanTrackingMode)

Creates a ITrackingSpan in this snapshot.

System_CAPS_pubmethodCreateTrackingSpan(Int32, Int32, SpanTrackingMode, TrackingFidelityMode)

Creates a ITrackingSpan in this snapshot.

System_CAPS_pubmethodCreateTrackingSpan(Span, SpanTrackingMode)

Creates a ITrackingSpan in this snapshot.

System_CAPS_pubmethodCreateTrackingSpan(Span, SpanTrackingMode, TrackingFidelityMode)

Creates a ITrackingSpan in this snapshot.

System_CAPS_pubmethodGetLineFromLineNumber(Int32)

Gets an ITextSnapshotLine for the given line number.

System_CAPS_pubmethodGetLineFromPosition(Int32)

Gets an ITextSnapshotLine for a line at the given position.

System_CAPS_pubmethodGetLineNumberFromPosition(Int32)

Gets the number of the line that contains the character at the specified position.

System_CAPS_pubmethodGetText()

Gets all the text in the snapshot.

System_CAPS_pubmethodGetText(Int32, Int32)

Gets text from the snapshot starting at startIndex and having a length equal to length.

System_CAPS_pubmethodGetText(Span)

Gets text from the snapshot starting at the beginning of the span and having a length equal to the length of the span.

System_CAPS_pubmethodToCharArray(Int32, Int32)

Converts a range of text to a character array.

System_CAPS_pubmethodWrite(TextWriter^)

Writes the contents of the snapshot.

System_CAPS_pubmethodWrite(TextWriter^, Span)

Writes a substring of the contents of the snapshot.

Return to top
Show: