EntitySet<TEntity>.IList.Add(Object) 方法

定义

有关此成员的说明,请参见 Add(Object)For a description of this member, see Add(Object).

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
Function Add (value As Object) As Integer Implements IList.Add

参数

value
Object

要添加到列表中的对象。The object to add to the list.

返回

新元素的插入位置。The position into which the new element was inserted.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 EntitySet<TEntity> 实例被强制转换为 System.Collections.IList 接口时使用。It can be used only when the EntitySet<TEntity> instance is cast to an System.Collections.IList interface.

适用于