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

声明
Public Structure TextSpan
用法
Dim instance As TextSpan
public struct TextSpan
public value class TextSpan
[<SealedAttribute>]
type TextSpan =  struct end
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