Range(Int32, Int32, Int32, Int32) 构造函数

定义

初始化 Range 结构的新实例。

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)

参数

startLine
Int32

范围起始行 (从0开始) 。

startColumn
Int32

从范围起始处开始,偏移量 (从0开始) 偏移量 startLine

endLine
Int32

跨度 (从0开始) 的行。

endColumn
Int32

从范围结束的开始,偏移量 (从0开始) 偏移量 endLine

适用于