Skip to content

Children<TNode>.Slice Method

Definition

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

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

TNode[]

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