語言

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 A表示是否可以對被編輯的內容進行ParameterCollection新增或刪除。

備註

此SetAllowCollectionChanges方法控制物件中元素是否能ParameterCollectionParameterEditorUserControl進行新增或刪除。 它 SetAllowCollectionChanges 能啟用或停用「上」、「下」、「加」和「刪除」按鈕,但不會影響個別 Parameter 元素的編輯。

適用於

另請參閱