Click or drag to resize

IconUtilitiesGetIconFilePathForExtension Method (String, NullableInt32, Boolean)

Gets the icon file path 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 string GetIconFilePathForExtension(
	string extension,
	out int? indexOrResourceId,
	bool useCache = true
)

Parameters

extension
Type: SystemString
The file extension.
indexOrResourceId
Type: SystemNullableInt32
An optional index or resource id argument.
useCache (Optional)
Type: SystemBoolean
if set to true an internal cache is used.

Return Value

Type: String
A file path string or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionextension
See Also