Click or drag to resize

NewsItemGetRowCount Method (String, String, NewsStatus, Boolean)

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,
	string search,
	NewsStatus status,
	bool bAdmin
)

Parameters

categoryIds
Type: SystemString
The list of category ids.
search
Type: SystemString
The searching filter.
status
Type: Dynamicweb.NewsNewsStatus
The status of news.
bAdmin
Type: SystemBoolean
if set to true gets all news, otherwise gets only active news.

Return Value

Type: Int32
See Also