MergablePropertyAttribute.Default 字段

指定默认值 Yes,它可以与“属性”窗口中属于其他对象的属性 (Property) 组合。此 static 字段是只读的。

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

语法

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

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

备注

当使用此值标记某个属性 (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
No