ParameterEditorUserControl.SetAllowCollectionChanges(Boolean) 方法

定義

控制是否可在編輯器中加入或刪除值。

public:
 void SetAllowCollectionChanges(bool allowChanges);
public void SetAllowCollectionChanges (bool allowChanges);
member this.SetAllowCollectionChanges : bool -> unit
Public Sub SetAllowCollectionChanges (allowChanges As Boolean)

參數

allowChanges
Boolean

Boolean,指出是否可於正在編輯的 ParameterCollection 中執行加入或刪除的動作。

備註

方法 SetAllowCollectionChanges 可控制是否可以對 物件中的 ParameterEditorUserControl 專案進行 ParameterCollection 新增和刪除。 會 SetAllowCollectionChanges 啟用或停用 [向上]、[向下]、[新增] 和 [刪除] 按鈕,但不會影響個別 Parameter 專案的編輯。

適用於

另請參閱