MergablePropertyAttribute.Yes 字段

定义

指定属性可以与属于属性窗口中其他对象的属性组合在一起。 此 static 字段为只读。

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

字段值

注解

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

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

适用于

另请参阅