EntityDAC

TObjectEnumerable<T>.Single Method

Returns the only element in the enumeration.

Class

TObjectEnumerable<T>

Syntax

function Single: T;

Remarks

The function returns the only element in the enumeration. If the enumeration does not contain elements, or it contains more than one element, the appropriate exception is raised.

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