EntitySet<TEntity>.Item[Int32] 属性
定义
获取或设置指定索引处的元素。Gets or sets the element at the specified index.
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
元素的索引。The index of the element.
属性值
- TEntity
一个表示项的 EntitySet<TEntity>。An EntitySet<TEntity> representing the item.