語言

EntitySet<TEntity>.Item[Int32] 屬性

定義

取得或設定位於指定索引處的專案。

public:
 property TEntity default[int] { TEntity get(int index); void set(int index, TEntity value); };
public TEntity this[int index] { get; set; }
member this.Item(int) : 'Entity with get, set
Default Public Property Item(index As Integer) As TEntity

參數

index
Int32

元素的索引。

屬性值

TEntity

代表 EntitySet<TEntity> 該項目。

實作

適用於