MergablePropertyAttribute.Default 字段

定义

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

public: static initonly System::ComponentModel::MergablePropertyAttribute ^ Default;
public static readonly System.ComponentModel.MergablePropertyAttribute Default;
 staticval mutable Default : System.ComponentModel.MergablePropertyAttribute
Public Shared ReadOnly Default As MergablePropertyAttribute 

字段值

注解

使用此值标记属性时,此属性设置为常量成员 No。 因此,如果要检查是否在代码中将属性设置为此值,则必须将 特性指定为 MergablePropertyAttribute.No

适用于

另请参阅