Skip to content

Children<TNode>.EnumerateSlice Method ​

Overloads ​

NameDescription
EnumerateSlice(Int32, Int32)Returns a lazy enumeration of a range of nodes in the source Children<TNode>.
EnumerateSlice(Range)Returns a lazy enumeration of a range of nodes in the source Children<TNode>.

EnumerateSlice(Int32, Int32) ​

Returns a lazy enumeration of a range of nodes in the source Children<TNode>.

c#
public IEnumerable<TNode> EnumerateSlice(int index, int count);

View source

Parameters ​

NameTypeDescription
indexInt32The zero-based index at which the range starts.
countInt32The number of nodes in the range.

Returns ​

IEnumerable<TNode>

A lazy enumeration of a range of nodes in the source Children<TNode>.

EnumerateSlice(Range) ​

Returns a lazy enumeration of a range of nodes in the source Children<TNode>.

c#
public IEnumerable<TNode> EnumerateSlice(Range range);

View source

Parameters ​

NameTypeDescription
rangeRangeThe Range.

Returns ​

IEnumerable<TNode>

A lazy enumeration of a range of nodes in the source Children<TNode>.