IShellLinkWSetRelativePath Method

Sets the relative path to the Shell link object.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
void SetRelativePath(
	string pathRelative,
	int reserved
)

Parameters

pathRelative  String
The address of a buffer that contains the fully-qualified path of the shortcut file, relative to which the shortcut resolution should be performed.

It should be a file name, not a folder name.

reserved  Int32
Reserved.

Set this parameter to zero.

See Also