EntityDAC

IObjectEnumerable<T>.LastOrDefault Method

Returns the last element of an enumeration, or a nil value if no element is found.

Class

IObjectEnumerable<T>

Syntax

function LastOrDefault: T;

Remarks

Use the method to obtain the last element of an enumeration. If the enumeration contains no elements, the method returns nil.

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