Skip to main content

TdxPSExplorerFolder.FolderByName(string) Method

Obtains the child folder specified by its name.

Declaration

function FolderByName(const AName: string): TdxPSExplorerFolder; virtual;

Parameters

Name Type
AName string

Returns

Type
TdxPSExplorerFolder

Remarks

Use the FolderByName property to access a particular child folder specified by its name. The desired folder’s name should be passed as the AName parameter, if the current folder doesn’t contain an immediate child with the name specified, the method returns nil.

If you need to traverse through all immediate child folders, use the FolderCount and Folders properties.

See Also