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

適用於

另請參閱