共用方式為


GenerateDeploymentManifest.DisallowUrlActivation Property

Definition

Gets or sets a Boolean value that indicates whether the application should be run automatically when it is opened through a URL.

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

public:
 property bool DisallowUrlActivation { bool get(); void set(bool value); };
public bool DisallowUrlActivation { get; set; }
member this.DisallowUrlActivation : bool with get, set
Public Property DisallowUrlActivation As Boolean

Property Value

true if the application can only be started from the Start menu; otherwise, false.

Remarks

The default value is false. This property applies only when the Install property value is true.

Applies to