語言

TriggerActionCollection.Remove(TriggerAction) 方法

定義

從集合中移除第一個出現的指定物件。

public:
 virtual bool Remove(System::Windows::TriggerAction ^ value);
public bool Remove(System.Windows.TriggerAction value);
abstract member Remove : System.Windows.TriggerAction -> bool
override this.Remove : System.Windows.TriggerAction -> bool
Public Function Remove (value As TriggerAction) As Boolean

參數

value
TriggerAction

要從集合中移除的 TriggerAction 物件。

傳回

true若物品成功移除;否則,。 false 若未在 中找到 TriggerActionCollection項目,此方法也會回傳 false。

實作

適用於

另請參閱