Cuemon .NET Framework
ElementAt<TSource> Method

The type of the elements of source.
The IEnumerable to return an element from.
The zero-based index of the element to retrieve.
Returns the element at a specified index in a sequence.
Syntax
'Declaration
 
Public Shared Function ElementAt(Of TSource)( _
   ByVal source As IEnumerable(Of TSource), _
   ByVal index As Integer _
) As TSource
public static TSource ElementAt<TSource>( 
   IEnumerable<TSource> source,
   int index
)

Parameters

source
The IEnumerable to return an element from.
index
The zero-based index of the element to retrieve.

Type Parameters

TSource
The type of the elements of source.

Return Value

The element at the specified position in the source sequence.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnumerableUtility Class
EnumerableUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback