Udostępnij przez


RunInstallerAttribute.Yes Pole

Definicja

Określa, że instalator akcji niestandardowej programu Visual Studio lub Installutil.exe (narzędzie instalatora) powinny być wywoływane po zainstalowaniu zestawu. To static pole jest tylko do odczytu.

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 

Wartość pola

Uwagi

Gdy oznaczysz właściwość z ustawioną RunInstallerAttribute wartością true, wartość tego atrybutu jest ustawiona na stały element członkowski Yes. W związku z tym, jeśli chcesz sprawdzić, czy atrybut jest ustawiony na tę wartość w kodzie, należy określić atrybut jako RunInstallerAttribute.Yes.

Dotyczy