Click or drag to resize

ShellUtilitiesGetIconHandle Method

Gets an icon handle from a file path.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IntPtr GetIconHandle(
	string path,
	IconMode mode = IconMode.Default
)

Parameters

path
Type: SystemString
The file path.
mode (Optional)
Type: callback.ShellBoost.Core.UtilitiesIconMode
The icon mode.

Return Value

Type: IntPtr
An icon handle.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also