Share via


TextSpan Structure

Defines a span of text based on character and line index.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Structure TextSpan
'Usage
Dim instance As TextSpan
public struct TextSpan
public value class TextSpan
JScript supports the use of structures, but not the declaration of new ones.

Remarks

Use this structure to define a span of text in terms of a beginning and an ending line and character index.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TextSpan Members

Microsoft.VisualStudio.TextManager.Interop Namespace