Click or drag to resize
IDataQuerySettingsTQueryFirstResult Method

Note: This API is now obsolete.

Sets the query as a single object query (i.e. limits the number of fetched rows to 1).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use TopN(1) instead. FirstResult() is equivalent to TopN(1), but FirstResult() can be easily confused with property FirstObject in some derived interfaces, which is not the same.")]
TQuery FirstResult()

Return Value

Type: TQuery
See Also