VersionedTextDocumentRangeContract Struct

Definition

A struct describing a explicitly versioned range of text in a document.

C#
[System.Runtime.Serialization.DataContract]
public readonly struct VersionedTextDocumentRangeContract
Inheritance
VersionedTextDocumentRangeContract
Attributes

Remarks

VersionedTextDocumentRangeContract is one of four closely related concepts:

Constructors

Properties

Document

Gets a reference to the information describing the underlying document.

EndColumn

Gets the offset (0-based) offset from the start of EndLine for the end of the span.

EndLine

Gets the line (0-based) of the end of the span.

StartColumn

Gets the offset (0-based) offset from the start of StartLine for the start of the span.

StartLine

Gets the line (0-based) of the start of the span.

Operators

Applies to

Product Versions
Visual Studio SDK 2022