ShellBrowser Delphi Components Documentation
|
Adds a link to the passed ItemIdList in the passed destination.
class function AddLinkTo(const pSourceItemIdList: IItemIdList; const pDestination: string; const pLinkName: string = ''): IItemIdList;
Parameters |
Description |
const pSourceItemIdList: IItemIdList |
The IItemIdList to create the new link for. |
const pDestination: 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.
Exceptions |
Description |
If creating the link failed. |