Source.GetText Method

Include Protected Members
Include Inherited Members

Gets text from the source file.

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 of the text of the source file.
Public method GetText(TextSpan) Gets the text included in the text span.
Public method GetText(Int32, Int32, Int32, Int32) Gets the text between the specified locations.

Top

Remarks

These methods provide different ways of obtaining text from the source file.

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace