Share via


ITextSnapshot.GetText Method

Include Protected Members
Include Inherited Members

Gets all the text in the snapshot.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetText() Gets all the text in the snapshot.
Public method 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.
Public method GetText(Int32, Int32) Gets text from the snapshot starting at startIndex and having a length equal to length.

Top

See Also

Reference

ITextSnapshot Interface

Microsoft.VisualStudio.Text Namespace