Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DownloadApplicationCompletedEventArgs::ShortcutAppId Property

 

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

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

Namespace:   System.Deployment.Application
Assembly:  System.Deployment (in System.Deployment.dll)

public:
property String^ ShortcutAppId {
	String^ get();
}

Property Value

Type: System::String^

The contents of an .appref-ms file.

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 (ClickOnce Application) and Walkthrough: Creating a Custom Installer for a ClickOnce Application.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft