Skip to content

Children<TNode>.Slice Method ​

Definition ​

Creates a shallow copy of a range of nodes in the source Children<TNode>.

c#
public TNode[] Slice(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 ​

TNode[]

A shallow copy of a range of nodes in the source Children<TNode>.