LINQ_ElementAtOrDefault()
IEnumerable::LINQ_ElementAtOrDefault(int) method
Returns the element at a specified index in a sequence.
T System::Collections::Generic::IEnumerable<T>::LINQ_ElementAtOrDefault(int index)
Arguments
Parameter | Type | Description |
---|---|---|
index | int | Index to get element at. |
Return Value
Element at specified index or default-constructed value if not found.
See Also
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Slides