Range(Int32, Int32, Int32, Int32) Constructor

Definition

Initializes a new instance of the Range struct.

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

Parameters

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