Range(Int32, Int32, Int32, Int32) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 。