Click or drag to resize

ShellUtilitiesGetIconLocationFromExtension Method (String, String, Int32)

Gets the icon location path and index from an extension.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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