Collection
01 Syntax
Microsoft.VisualBasic.Language.Python.Collection
02 Methods
03 Members
slice``1(
IEnumerable(Of ``0), Int32, Int32, Int32)将序列之中的指定区域的内容取出来
Remarks
20210810 test success by kdtree
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
[set] | IEnumerable(Of ``0) | - |
start | Int32 | - |
[stop] | Int32 | 可以接受负数,如果为负数,则表示终止的下标为长度将去这个stop值的结果,即从后往前数 |
[step] | Int32 | - |
SpanSlice``1(
IEnumerable(Of ``0), Int32, Int32)Forms a slice out of the current span starting at a specified index for a specified length.
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
span | IEnumerable(Of ``0) | - |
start | Int32 | The index at which to begin this slice. |
length | Int32 | The desired length for the slice. |
slice(
IEnumerable(Of T), Int32, Int32, Int32)SpanSlice(
IEnumerable(Of T), Int32, Int32)