Click or drag to resize

IconUtilitiesGetIconFilePathForExtension Method (String, NullableInt32, Boolean)

Gets the icon file path 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 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