Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine
DataQuerySettingsBase(TQuery) Class
DataQuerySettingsBase(TQuery) Methods
AddColumn Method
AddColumns Method
AddFilterColumn Method
AddHavingInternal Method
AnySettingsDefined Method
ApplyParametersTo Method
Column Method
Columns Method
CopyPropertiesTo Method
Distinct Method
GetDefaultSource Method
GetExpressions Method
GroupBy Method
Having Method
NewGroupBy Method
NewHaving Method
NextPage Method
NoColumns Method
NotPaged Method
OrderBy Method
OrderByAscending Method
OrderByDescending Method
Page Method
PagedBy Method
ReplaceColumn Method
ReplaceOrderByColumn Method
ReplaceSelectedColumn Method
Take Method
Then Method
TopN Method
ToString Method
WithComment Method
DataQuerySettingsBase
TQuery
TopN Method
Selects only first top N number of records
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
Copy
public
virtual
TQuery
TopN
(
int
topN
)
Parameters
topN
Type:
System
Int32
Return Value
Type:
TQuery
Implements
IDataQuerySettings
TQuery
TopN(Int32)
See Also
Reference
DataQuerySettingsBase
TQuery
Class
CMS.DataEngine Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com