ShellBrowser Delphi Components Documentation
|
Adds a link (shortcut) to the element referred to by AbsoluteItemIdList in the passed folder.
function AddLinkTo(const pDestinationFolder: string; const pLinkName: string = ''): IItemIdList;
Parameters |
Description |
const pDestinationFolder: string |
The destination folder in that the newly created link should be created. |
const pLinkName: string = '' |
Optional: The name of the created link (shortcut), without the extensiosn .LNK. If no value is passed, the display name of the link target is used. |
If the operation was successful, the IItemIdList of the Link is returned. If the operation failed, nil is returned.