Range(Index, Index) Range(Index, Index) Range(Index, Index) Range(Index, Index) Constructor

定义

使用指定的起始索引和结束索引初始化新的 Range 实例。Instantiates a new Range instance with the specified starting and ending indexes.

public:
 Range(Index start, Index end);
public Range (Index start, Index end);
new Range : Index * Index -> Range
Public Sub New (start As Index, end As Index)

参数

start
Index Index Index Index

范围的包含起始索引。The inclusive start index of the range.

end
Index Index Index Index

范围的非包含结束索引。The exclusive end index of the range.

适用于