EntityDAC

IObjectEnumerable<T>.Last Method

Returns the last element of an enumeration.

Class

IObjectEnumerable<T>

Syntax

function Last: T;

Remarks

Use the method to obtain the last element of an enumeration. The method throws an exception if the enumeration contains no elements. To instead return nil when the enumeration is empty, use the LastOrDefault method.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback