TriggerActionCollection.IndexOf(TriggerAction, UInt32) メソッド

定義

指定した項目のインデックスを取得します。

public:
 virtual bool IndexOf(TriggerAction ^ value, [Out] unsigned int & index) = IVector<TriggerAction ^>::IndexOf;
bool IndexOf(TriggerAction const& value, [Out] uint32_t & index);
public bool IndexOf(TriggerAction value, out uint index);
Public Function IndexOf (value As TriggerAction, ByRef index As UInteger) As Boolean

パラメーター

value
TriggerAction

コレクション内で検索する値。

index
UInt32

unsigned int

uint32_t

検索する項目のインデックス (見つかった場合)。

戻り値

Boolean

bool

true 指定した値を持つ項目が見つかった場合。それ以外の場合は false

実装

M:Windows.Foundation.Collections.IVector1.IndexOf(0,System.UInt32@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,unsigned int@) M:Windows.Foundation.Collections.IVector1.IndexOf(0,uint32_t@)

注釈

注意

同等の Microsoft .NET API は IndexOf です

適用対象

こちらもご覧ください