Click or drag to resize

ShellUtilitiesGetIconLocation Method (String, String, Int32)

Gets the icon location from a shell item path.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool GetIconLocation(
	string path,
	out string iconLocationPath,
	out int index
)

Parameters

path
Type: SystemString
The file path.
iconLocationPath
Type: SystemString
The icon location path.
index
Type: SystemInt32
The icon index.

Return Value

Type: Boolean
true if the icon location path and index was retrieved successfully, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also