Condividi tramite


DownloadApplicationCompletedEventArgs.ShortcutAppId Property

Definition

Gets the contents of an .appref-ms file that can launch this ClickOnce application.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property System::String ^ ShortcutAppId { System::String ^ get(); };
public string ShortcutAppId { get; }
member this.ShortcutAppId : string
Public ReadOnly Property ShortcutAppId As String

Property Value

The contents of an .appref-ms file.

Remarks

This property contains the text a custom installer can write to a .appref-ms file to launch this ClickOnce application. ClickOnce creates this launch file for you when install a ClickOnce application that is available offline, except for applications that include the <customUX> element. A custom installer can create a shortcut to launch a ClickOnce application that contains a <customUX> element by writing the text in this property to a new .appref-ms file in Unicode format. For more information, see <entryPoint> Element and Walkthrough: Creating a Custom Installer for a ClickOnce Application.

Applies to