GetChildren<ChildrenType>(bool, IList<ChildrenType>)

Gets the list of children, filtered by type.

Declaration Syntax

public virtual IList<ChildrenType> GetChildren<ChildrenType>(bool recurses, IList<ChildrenType> children)

Parameters

recurses(bool)

Whether to retrieve grandchildren recursively.

children(IList<ChildrenType>)

Input list that will be populated through the whole process. (If not specified a new list will be created.)