# CBFS Shell 2022 .NET Edition

Questions / Feedback?

# IconLocation Property

This contains the full path to the file with the icon.

## Syntax

public string IconLocation { get; set; }

Public Property IconLocation As String


""

## Remarks

This property may be set to the full path of the file with the icon that corresponds to the Shell Namespace Extension. If the icon is contained in the EXE or DLL file, the path may be followed by a comma and an integer value, which may be either an ID or index of the icon in the resources within the EXE or DLL file. If the ID is used, it must be prefixed with the "minus" character.
Examples:
<path\to\file.dll>,-<resource ID>
<path\to\file.dll>,<resource index>

Set this property before calling the Install method.