EntitySet<TEntity>::Item Property (Int32)

 

Gets or sets the element at the specified index.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public:
property TEntity default[
	int index
] {
	virtual TEntity get(int index) sealed;
	virtual void set(int index, TEntity value) sealed;
}

Parameters

index
Type: System::Int32

The index of the element.

Property Value

Type: TEntity

An EntitySet<TEntity> representing the item.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: