Plumtree Portal UI  
 

TagDisplayElement.HasParentTag Method 

This method checks if the current tag has the requested tag as a parent tag. This does not check if it matches the current tag, unlike HasParentElement.

public virtual int HasParentTag(
   ITagMetaData _parentTag,
   TagLibraryMetaData _library
);

Parameters

_parentTag
_library
The Tag Library of the tag to look for.

Return Value

int 0 implies the parent tag was not found and a positive integer implies that the parent tag was found n levels above the current tag.

See Also

TagDisplayElement Class | com.plumtree.portaluiinfrastructure.tags.displaytree Namespace