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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldiEndIndex

Ending character index within the line. This value must be less than or equal to the length of the line.

System_CAPS_pubfieldiEndLine

Ending line index.

System_CAPS_pubfieldiStartIndex

Starting character index within the line. This value must be less than or equal to the length of line.

System_CAPS_pubfieldiStartLine

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.

Return to top
Show: