Click or drag to resize

IconUtilitiesLoadBestIconForExtension Method

Loads the best icon for a given file extension.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Bitmap LoadBestIconForExtension(
	string extension,
	string fallbackExtension = null
)

Parameters

extension
Type: SystemString
The file extension.
fallbackExtension (Optional)
Type: SystemString
Another extension to use if the icon was not found.

Return Value

Type: Bitmap
An instance of the Bitmap class or null.
See Also