Click or drag to resize

IconUtilitiesLoadBestIconForExtension Method

Loads the best icon for a given file extension.

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