EntitySet<TEntity>.IList.Item property
Gets or sets the item at the specified index.
Namespace: Microsoft.SharePoint.Linq
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
Syntax
'Declaration
Private Property Item ( _
index As Integer _
) As Object Implements IList.Item
Get
Set
'Usage
Dim instance As EntitySet
Dim index As Integer
Dim value As Object
value = CType(instance, IList).Item(index)
CType(instance, IList).Item(index) = value
ObjectIList.this[
int index
] { get; set; }
Parameters
index
Type: System.Int32The index of the item.
Property value
Type: System.Object
A Object that represents the item at the specified index and that is castable to the type of entities represented by the EntitySet<TEntity>.
Implements
Remarks
If an attempt is made to set the item to an object that is already in the collection, nothing will happen.