Click or drag to resize
CMSDocumentsDataSourceGetDataSource Method (Int32, Int32)
Gets data source according to caching properties.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
protected override Object GetDataSource(
	int offset,
	int maxRecords
)

Parameters

offset
Type: SystemInt32
Index of first record to get
maxRecords
Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)

Return Value

Type: Object
Dataset with data source
See Also