Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  RemoveChildren(int)
element class : RemoveChildren(int) method

Description

Removes the children elements the specified position or later.

Syntax

elementInstance.RemoveChildren(int startIndex)

Arguments

ClassNameDescription
intstartIndexIndex that indicates the position of the removing start.

Return value

ClassDescription
list{element}List of elements that was removed.

Sample code

//anyElement is any instance of element type.

int startIndex = 5;

anyElement.RemoveChildren(startIndex);

Notes

startIndex need to be "0 <= startIndex < number of children".

Children the startIndex or later will be removed.

Links for reference

None

Copyright © Rice All rights reserved.