Skip to main content

TdxPSFileBasedExplorer.FindFolderByFullQualifiedDirName(string) Method

Returns an object representing the folder specified by its full-qualified name.

Declaration

function FindFolderByFullQualifiedDirName(const AFullQualifiedDirName: string): TdxPSFileBasedExplorerFolder;

Parameters

Name Type
AFullQualifiedDirName string

Returns

Type
TdxPSFileBasedExplorerFolder

Remarks

Use the FindFolderByFullQualifiedDirName method to obtain a TdxPSFileBasedExplorerFolder object representing the folder specified by its full-qualified name. The desired folder’s name should be passed as the AFullQualifiedDirName parameter, if the folder specified doesn’t exist nil will be returned.

You can also obtain folders by traversing through the folders tree, use the Root property to access the root folder. The obtained object’s Folders and FolderCount properties can be used to access child folders.

See Also