Skip to main content

TCustomdxPSExplorerItem.HasAsParent(TCustomdxPSExplorerItem) Method

Returns a value indicating whether the item is a child of the item passed as the parameter.

Declaration

function HasAsParent(AnItem: TCustomdxPSExplorerItem): Boolean;

Parameters

Name Type
AnItem TCustomdxPSExplorerItem

Returns

Type
Boolean

Remarks

The HasAsParent method scans the report hierarchy to the top searching for the item specified. If found, the method returns True if the specified item is the current item’s parent at any nesting level.

Note that if you need to obtain the item’s immediate parent, you should use the item’s Parent property.

See Also