Click or drag to resize

NewsItemGetRowCount Method (String, DateTime, DateTime, Boolean, String, NewsStatus, ArrayList)

Gets amount of news by specified parameters.

Namespace:  Dynamicweb.News
Assembly:  Dynamicweb.News (in Dynamicweb.News.dll) Version: 1.0.10
Syntax
public static int GetRowCount(
	string categoryIds,
	DateTime dateFrom,
	DateTime dateTo,
	bool useNowDate,
	string search,
	NewsStatus status,
	ArrayList extranetGroups
)

Parameters

categoryIds
Type: SystemString
The list of category ids.
dateFrom
Type: SystemDateTime
The start date.
dateTo
Type: SystemDateTime
The end date.
useNowDate
Type: SystemBoolean
if set to true use start and end dates in the request.
search
Type: SystemString
The searching filter.
status
Type: Dynamicweb.NewsNewsStatus
The status of news.
extranetGroups
Type: System.CollectionsArrayList
The list of extranet groups.

Return Value

Type: Int32
See Also