Piccolo.NET

PNode.GetAllNodes Method 

Gets a list containing the subset of this node and all of its descendent nodes that are accepted by the given node filter.

public virtual PNodeList GetAllNodes(
   PNodeFilter filter,
   PNodeList results
);

Parameters

filter
The filter used to determine the subset.
results
The list used to collect the subset; can be null.

Return Value

A list containing the subset of this node and all its descendents accepted by the filter.

Remarks

If the filter is null then all nodes will be accepted. If the results parameter is not null then it will be used to store this subset instead of creating a new list.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace