Click or drag to resize

ShellUtilitiesGetIconLocationFromExtension Method (String, String, Int32)

Gets the icon location path and index from an extension.

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

Parameters

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

Return Value

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