TextRanges Interface
Visual Studio 2015
Contains a TextRange object for each of the tagged subexpressions from a search pattern. TextRanges is also used to find where a box selection intersects each line of text.
Assembly: EnvDTE (in EnvDTE.dll)
| Name | Description | |
|---|---|---|
![]() | GetEnumerator() | Gets an enumeration for items in a collection. |
![]() | Item(Object^) | Returns a TextRange object in a TextRanges collection. |
A TextRanges collection is returned from a search operation when the search pattern is a regular expression with tagged subexpressions. The TextRanges collection contains a TextRange object for each of the tagged subexpressions.
Also, TextRanges are used to get box selections from the TextSelection object if you need to determine where the box selection intersects each line.
Show:

