TriggerActionCollection.IndexOf(TriggerAction) 方法

定义

返回集合中指定项的索引。

public:
 virtual int IndexOf(System::Windows::TriggerAction ^ value);
public int IndexOf(System.Windows.TriggerAction value);
abstract member IndexOf : System.Windows.TriggerAction -> int
override this.IndexOf : System.Windows.TriggerAction -> int
Public Function IndexOf (value As TriggerAction) As Integer

参数

value
TriggerAction

TriggerAction 定位在集合中的对象。

返回

如果在集合中找到该value对象的索引TriggerAction,则为 -1。

实现

适用于

另请参阅