RunInstallerAttribute.Yes 欄位

定義

規定安裝組件時應呼叫Visual Studio自訂動作安裝程式或 Installutil.exe(安裝工具)。 此 static 欄位為唯讀。

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 

欄位值

備註

當你將屬性標記為 RunInstallerAttributetrue時,該屬性的值會被設定為常數成員 Yes。 因此,當你想檢查該屬性是否設定為此值時,必須指定屬性為 RunInstallerAttribute.Yes

適用於