This documentation is archived and is not being maintained.

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)

public struct TextSpan
public final class TextSpan extends ValueType
JScript suports the use of structures, but not the declaration of new ones.

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.