MergablePropertyAttribute.No 字段

指定属性 (Property) 不能与“属性”窗口中属于其他对象的属性 (Property) 组合。此 static 字段是只读的。

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

语法

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

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

备注

当通过将 MergablePropertyAttribute 设置为 false 标记某个属性 (Property) 时,此属性 (Attribute) 的值会被设置为常数成员 No。因此,若要检查属性 (Attribute) 在代码中是否设置为该值,必须将该属性 (Attribute) 指定为 MergablePropertyAttribute.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

请参见

参考

MergablePropertyAttribute 类
MergablePropertyAttribute 成员
System.ComponentModel 命名空间
MergablePropertyAttribute 类
Yes