Skip to main content

TdxPSExplorerFolder.ItemByName(string) Method

Returns an immediate child report item specified by its name.

Declaration

function ItemByName(const AName: string): TdxPSExplorerItem; virtual;

Parameters

Name Type
AName string

Returns

Type
TdxPSExplorerItem

Remarks

Use the ItemByName method to obtain a folder’s immediate child item specified by its name. The desired item’s name should be passed as the method’s AName parameter if the folder doesn’t contain any items with the specified name the method returns nil.

To traverse through all child items, use the Items and ItemCount properties.

See Also