VersionedTextDocumentRangeContract Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A struct describing a explicitly versioned range of text in a document.
[System.Runtime.Serialization.DataContract]
public readonly struct VersionedTextDocumentRangeContract
[<System.Runtime.Serialization.DataContract>]
type VersionedTextDocumentRangeContract = struct
Public Structure VersionedTextDocumentRangeContract
- Inheritance
-
VersionedTextDocumentRangeContract
- Attributes
VersionedTextDocumentRangeContract is one of four closely related concepts:
Versioned |
Initializes a new instance of the VersionedTextDocumentRangeContract struct. |
Document |
Gets a reference to the information describing the underlying document. |
End |
Gets the offset (0-based) offset from the start of EndLine for the end of the span. |
End |
Gets the line (0-based) of the end of the span. |
Start |
Gets the offset (0-based) offset from the start of StartLine for the start of the span. |
Start |
Gets the line (0-based) of the start of the span. |
Implicit(Versioned |
Implicitly converts the VersionedTextDocumentRangeContract to Range. |
Product | Versions |
---|---|
Visual Studio SDK | 2022 |