次の方法で共有


ItemsSourceView.IndexOf(Object) メソッド

定義

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

public:
 virtual int IndexOf(Platform::Object ^ item) = IndexOf;
int IndexOf(IInspectable const& item);
public int IndexOf(object item);
function indexOf(item)
Public Function IndexOf (item As Object) As Integer

パラメーター

item
Object

Platform::Object

IInspectable

コレクション内で検索するオブジェクト。

戻り値

Int32

int

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

適用対象