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 

字段值

注解

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

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

适用于

另请参阅