ShellUtilitiesGetIconLocationFromExtension Method (String, IconMode, String, Int32) |
Gets the icon location path and index from a file extension.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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: callback.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