Skip to content

Children<TNode>.EnumerateSlice Method

Overloads

Name Description
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>.

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

View source

Parameters

Name Type Description
index Int32 The zero-based index at which the range starts.
count Int32 The 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>.

public IEnumerable<TNode> EnumerateSlice(Range range);

View source

Parameters

Name Type Description
range Range The Range.

Returns

IEnumerable<TNode>

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