| 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
)
Public Shared Function GetRowCount (
categoryIds As String,
dateFrom As DateTime,
dateTo As DateTime,
useNowDate As Boolean,
search As String,
status As NewsStatus,
extranetGroups As ArrayList
) As Integer
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:
Int32See Also