RunInstallerAttribute.No 字段

指定在安装程序集时不应调用 Visual Studio 自定义操作安装程序或安装程序工具 (Installutil.exe)。此 static 字段是只读的。

**命名空间:**System.ComponentModel
**程序集:**System(在 system.dll 中)

语法

声明
Public Shared ReadOnly No As RunInstallerAttribute
用法
Dim value As RunInstallerAttribute

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

备注

该字段是此属性的默认设置。

当通过将 RunInstallerAttribute 设置为 false 标记某个属性时,此特性的值会被设置为常数成员 No。因此,若要检查属性在代码中是否设置为该值,必须将该属性指定为 RunInstallerAttribute.No

平台

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 命名空间