Click or drag to resize

LinkGetIconLocation Method

Gets 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 GetIconLocation(
	out string path,
	out int index,
	bool throwOnError = false
)

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