語言

EntitySet<TEntity>.IndexOf(TEntity) 方法

定義

回傳實體的索引。

public:
 virtual int IndexOf(TEntity entity);
public int IndexOf(TEntity entity);
abstract member IndexOf : 'Entity -> int
override this.IndexOf : 'Entity -> int
Public Function IndexOf (entity As TEntity) As Integer

參數

entity
TEntity

要回傳的索引實體。

傳回

一個整數代表指標。

實作

適用於