nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / Collection

Collection

Full name Microsoft.VisualBasic.Language.Python.Collection Assembly Microsoft.VisualBasic.Runtime Members 4

01 Syntax

Microsoft.VisualBasic.Language.Python.Collection

02 Methods

NameOverloadsSummary
slice 1 将序列之中的指定区域的内容取出来
SpanSlice 1 Forms a slice out of the current span starting at a specified index for a specified length.
slice 1
SpanSlice 1

03 Members

method slice #
slice``1(IEnumerable(Of ``0), Int32, Int32, Int32)

将序列之中的指定区域的内容取出来

Remarks

20210810 test success by kdtree

Type Parameters
NameDescription
T
Parameters
NameTypeDescription
[set]IEnumerable(Of ``0)

-

startInt32

-

[stop]Int32

可以接受负数,如果为负数,则表示终止的下标为长度将去这个stop值的结果,即从后往前数

[step]Int32

-

method SpanSlice #
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
NameDescription
T
Parameters
NameTypeDescription
spanIEnumerable(Of ``0)

-

startInt32

The index at which to begin this slice.

lengthInt32

The desired length for the slice.

method slice #
slice(IEnumerable(Of T), Int32, Int32, Int32)
method SpanSlice #
SpanSlice(IEnumerable(Of T), Int32, Int32)