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

如果找到,要尋找的專案索引。

適用於