Bewerken

Delen via


RunInstallerAttribute.Yes Field

Definition

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

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

Field Value

Remarks

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

Applies to