Click or drag to resize

LinkGetIconLocation Method

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

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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