Click or drag to resize

LinkSetIconLocation Method

Sets the location (path and index) of the icon for a Shell link object.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public virtual int SetIconLocation(
	string path,
	int index,
	bool throwOnError = true
)

Parameters

path
Type: SystemString
The path.
index
Type: SystemInt32
The index.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Int32
An error number or 0.
See Also