TextSpan Structure
Visual Studio 2015
Defines a span of text based on character and line index.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from ValueType.) |
![]() | GetHashCode() | (Inherited from ValueType.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() | iEndIndex | Ending character index within the line. This value must be less than or equal to the length of the line. |
![]() | iEndLine | Ending line index. |
![]() | iStartIndex | Starting character index within the line. This value must be less than or equal to the length of line. |
![]() | iStartLine | Starting line index. |
Use this structure to define a span of text in terms of a beginning and an ending line and character index.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:

