Partager via


VersionedTextDocumentRangeContract Constructor

Definition

Initializes a new instance of the VersionedTextDocumentRangeContract struct.

public VersionedTextDocumentRangeContract (Microsoft.VisualStudio.RpcContracts.Editor.TextDocumentContract textDocument, int startLine, int startColumn = -1, int endLine = -1, int endColumn = -1);
new Microsoft.VisualStudio.RpcContracts.Utilities.VersionedTextDocumentRangeContract : Microsoft.VisualStudio.RpcContracts.Editor.TextDocumentContract * int * int * int * int -> Microsoft.VisualStudio.RpcContracts.Utilities.VersionedTextDocumentRangeContract
Public Sub New (textDocument As TextDocumentContract, startLine As Integer, Optional startColumn As Integer = -1, Optional endLine As Integer = -1, Optional endColumn As Integer = -1)

Parameters

textDocument
TextDocumentContract

The

startLine
Int32

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

startColumn
Int32

The offset (0-based) offset from the start of startLine for the start of the span.

endLine
Int32

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

endColumn
Int32

The offset (0-based) offset from the start of endLine for the end of the span.

Applies to