Share via


TextSpan Members

Include Protected Members
Include Inherited Members

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

The TextSpan type exposes the following members.

Methods

 

Name

Description

Public method

Equals

Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns the hash code for this instance. (Inherited from ValueType.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

 

Name

Description

Public field

iEndIndex

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

Public field

iEndLine

Ending line index.

Public field

iStartIndex

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

Public field

iStartLine

Starting line index.

Top

See Also

Reference

TextSpan Structure

Microsoft.VisualStudio.TextManager.Interop Namespace