Partager via


ApplicationManifest.IconFile Property

Definition

Gets or sets the application icon file.

public:
 property System::String ^ IconFile { System::String ^ get(); void set(System::String ^ value); };
public string IconFile { get; set; }
public string IconFile { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.IconFile : string with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.IconFile : string with get, set
Public Property IconFile As String

Property Value

A string that represents the name of the icon file.

Attributes

Remarks

The application icon is expressed in the generated application manifest and is used for the start menu and Add/Remove Programs dialog. If this input is not specified then a default icon is used. For a Win32 native manifest, this input is ignored.

Applies to