VersionedTextDocumentRangeContract Struct
Definition
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
Remarks
VersionedTextDocumentRangeContract is one of four closely related concepts:
Constructors
VersionedTextDocumentRangeContract(TextDocumentContract, Int32, Int32, Int32, Int32) |
Initializes a new instance of the VersionedTextDocumentRangeContract struct. |
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
Implicit(VersionedTextDocumentRangeContract to Range) |
Implicitly converts the VersionedTextDocumentRangeContract to Range. |