Click or drag to resize

NewsCategoryGetCategoryList Method (NewsCategorySortFields, SortDirection, String, Int32, Int32)

Gets the news category list.

Namespace:  Dynamicweb.News
Assembly:  Dynamicweb.News (in Dynamicweb.News.dll) Version: 1.0.10
Syntax
public static NewsCategoryCollection GetCategoryList(
	NewsCategorySortFields sort,
	SortDirection direction,
	string search,
	int startItem,
	int endItem
)

Parameters

sort
Type: Dynamicweb.NewsNewsCategorySortFields
The sorting field.
direction
Type: Dynamicweb.Modules.CommonSortDirection
The sorting direction.
search
Type: SystemString
The searching filter.
startItem
Type: SystemInt32
The start item.
endItem
Type: SystemInt32
The end item.

Return Value

Type: NewsCategoryCollection
See Also