Partilhar via


DkmTextSpan Struct

Definition

The start/end line/column ranges for a contiguous span of text.

public value class DkmTextSpan : IComparable<Microsoft::VisualStudio::Debugger::Symbols::DkmTextSpan>, IEquatable<Microsoft::VisualStudio::Debugger::Symbols::DkmTextSpan>
[System.Runtime.InteropServices.Guid("5196533e-11e8-53b0-6620-ba454830e33b")]
public struct DkmTextSpan : IComparable<Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan>, IEquatable<Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan>
[<System.Runtime.InteropServices.Guid("5196533e-11e8-53b0-6620-ba454830e33b")>]
type DkmTextSpan = struct
Public Structure DkmTextSpan
Implements IComparable(Of DkmTextSpan), IEquatable(Of DkmTextSpan)
Inheritance
DkmTextSpan
Attributes
Implements

Constructors

Name Description
DkmTextSpan(Int32, Int32, Int32, Int32)

Initialize a new DkmTextSpan value.

Fields

Name Description
EndColumn

1-based integer for the ending source column. If column information is missing (ex: language service doesn't support it), this value should be set to 0.

EndLine

1-based integer for the ending source column.

StartColumn

1-based integer for the starting source column. If column information is missing (ex: language service doesn't support it), this value should be set to 0.

StartLine

1-based integer for the starting source line.

Methods

Name Description
CompareTo(DkmTextSpan)
Equals(DkmTextSpan)

Compare two elements of the DkmTextSpan structure.

GetHashCode()

Operators

Name Description
Equality(DkmTextSpan, DkmTextSpan)

Compare two elements of the DkmTextSpan sructure.

GreaterThan(DkmTextSpan, DkmTextSpan)

Compare two elements of the DkmTextSpan sructure.

GreaterThanOrEqual(DkmTextSpan, DkmTextSpan)

Compare two elements of the DkmTextSpan sructure.

Inequality(DkmTextSpan, DkmTextSpan)

Compare two elements of the DkmTextSpan sructure.

LessThan(DkmTextSpan, DkmTextSpan)

Compare two elements of the DkmTextSpan sructure.

LessThanOrEqual(DkmTextSpan, DkmTextSpan)

Compare two elements of the DkmTextSpan sructure.

Applies to