次の方法で共有


RunInstallerAttribute.Yes フィールド

アセンブリのインストール時に、Visual Studio の Custom Action Installer または インストーラ ツール (Installutil.exe) が起動されることを指定します。static フィールドは読み取り専用です。

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)

構文

'宣言
Public Shared ReadOnly Yes As RunInstallerAttribute
'使用
Dim value As RunInstallerAttribute

value = RunInstallerAttribute.Yes
public static readonly RunInstallerAttribute Yes
public:
static initonly RunInstallerAttribute^ Yes
public static final RunInstallerAttribute Yes
public static final var Yes : RunInstallerAttribute

解説

trueRunInstallerAttribute を使用してプロパティをマークすると、この属性の値は定数メンバ Yes に設定されます。したがって、属性がコード内でこの値に設定されているかどうかを確認する場合は、属性を RunInstallerAttribute.Yes として指定する必要があります。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

RunInstallerAttribute クラス
RunInstallerAttribute メンバ
System.ComponentModel 名前空間