Plumtree Portal UI  
 

IDisplayElement.HasChildElements Method 

This method searches for child tags of the current tag and fills in the results array with an Object if the tag has been found. This method will not work if _results is not an array of null objects of the same length as _childTags.

bool HasChildElements(
   ITagMetaData[] _childTags,
   object[] _results,
   TagLibraryMetaData _library,
   int _nCurrentDepth
);

Parameters

_childTags
An array of ITagMetaData objects for each child tag to search for.
_results
An array of null Objects. On execution, when a child tag is found, the location in the _results array that corresponds to the location of the tag in the _ChildTags array will be filled in with an Integer containing the positive depth of the child tag.
_library
The Tag Library of the tags to look for.
_nCurrentDepth
The depth of the current tag.

Return Value

boolean implies that all of the Child Tags have been found.

See Also

IDisplayElement Interface | com.plumtree.portaluiinfrastructure.tags.displaytree Namespace