AllObjectsExtensionElementAtT Method |
Override LINQ for faster access
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public static T ElementAt<T>(
this AllObjects<T> source,
int index
)
<ExtensionAttribute>
Public Shared Function ElementAt(Of T) (
source As AllObjects(Of T),
index As Integer
) As T
public:
[ExtensionAttribute]
generic<typename T>
static T ElementAt(
AllObjects<T>^ source,
int index
)
[<ExtensionAttribute>]
static member ElementAt :
source : AllObjects<'T> *
index : int -> 'T
Parameters
- source
- Type: VelocityDbAllObjectsT
The source enumeration - index
- Type: SystemInt32
The index requested
Type Parameters
- T
- The type of element requested
Return Value
Type:
TElement at requested index
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
AllObjectsT. 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