ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TShellControlHelper.GetDisplayName

Returns a caption for the passed ItemIdList, regarding the passed name format.

Syntax
Pascal
class function GetDisplayName(const pItemIdList: IItemIdList; const pFileNameFormat: TJamFileNameFormat = TJamFileNameFormat.Auto; const pShellNames: Boolean = true): string;
Parameters 
Description 
const pItemIdList: IItemIdList 
The absolute ItemIdList to retrieve the caption for. 
const pFileNameFormat: TJamFileNameFormat = TJamFileNameFormat.Auto 
The TJamFileNameFormat used for the caption. 
const pShellNames: Boolean = true 
Retrieve shell names like displayed in Windows Explorer or physical names. E.g. "c:\" or "System (c:\)" 

string: A display name.