TableCellCollection.IndexOf(TableCell) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回指定之集合專案的以零起始的索引。
public:
virtual int IndexOf(System::Windows::Documents::TableCell ^ item);
public int IndexOf(System.Windows.Documents.TableCell item);
abstract member IndexOf : System.Windows.Documents.TableCell -> int
override this.IndexOf : System.Windows.Documents.TableCell -> int
Public Function IndexOf (item As TableCell) As Integer
參數
- item
- TableCell
一個集合項目用來回傳索引。
傳回
指定集合項目的零為基礎索引,若指定項目非集合成員則為 -1。