Telerik UI for Windows Phone by Progress

Gets an element at a position.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Core (in Telerik.Windows.Core.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)


public static Object ElementAt(
	this IEnumerable enumerable,
	int index
Visual Basic
<ExtensionAttribute> _
Public Shared Function ElementAt ( _
	enumerable As IEnumerable, _
	index As Integer _
) As Object
Visual C++
static Object^ ElementAt(
	IEnumerable^ enumerable, 
	int index


Type: System.Collections..::..IEnumerable
The enumerable from which to get an element.
Type: System..::..Int32
The index of the element to get.

Return Value

Returns the object in the enumerable at the specified index.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also