ShellUtilitiesGetIconLocationFromExtension Method (String, IconMode, String, Int32) |
Gets the icon location path and index from a file extension.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static bool GetIconLocationFromExtension(
string path,
IconMode mode,
out string iconLocationPath,
out int index
)
Parameters
- path
- Type: SystemString
The file path or extension. - mode
- Type: ShellBoost.Core.UtilitiesIconMode
The icon mode. - iconLocationPath
- Type: SystemString
The icon location path. - index
- Type: SystemInt32
The icon index.
Return Value
Type:
Booleantrue if the icon location path and index was retrieved successfully,
false otherwise.
Exceptions See Also