Compartilhar via


ProvideMenuResourceAttribute.IconMappingFilename Property

Definition

The path to a CSV file which maps the icon identifiers defined in the menu resource to image monikers. The path is either a relative path implicitly rooted at $PackageFolder$, or an absolute path explicitly rooted at a directory defined by an environment variable (e.g. "%UserProfile%\dir1\dir2\MyMappingFile.csv").

The format of the CSV file is:

Icon guid, Icon id, Moniker guid, Moniker id
b714fcf7-855e-4e4c-802a-1fd87144ccad,1,fda30684-682d-421c-8be4-650a2967058e,100
{b714fcf7-855e-4e4c-802a-1fd87144ccad},2,{fda30684-682d-421c-8be4-650a2967058e},200
etc...
public:
 property System::String ^ IconMappingFilename { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ IconMappingFilename { Platform::String ^ get(); void set(Platform::String ^ value); };
public string IconMappingFilename { get; set; }
member this.IconMappingFilename : string with get, set
Public Property IconMappingFilename As String

Property Value

The path to the icon mapping file.

Applies to