Bewerken

Share via


RunInstallerAttribute.No Field

Definition

Specifies that the Visual Studio Custom Action Installer or the Installutil.exe (Installer Tool) should not be invoked when the assembly is installed. This static field is read-only.

public: static initonly System::ComponentModel::RunInstallerAttribute ^ No;
public static readonly System.ComponentModel.RunInstallerAttribute No;
 staticval mutable No : System.ComponentModel.RunInstallerAttribute
Public Shared ReadOnly No As RunInstallerAttribute 

Field Value

Remarks

This field is the default setting for this attribute.

When you mark a property with the RunInstallerAttribute set to false, the value of this attribute is set to the constant member No. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as RunInstallerAttribute.No.

Applies to