| 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
)
Public Shared Function GetRowCount (
categoryIds As String,
search As String,
status As NewsStatus,
bAdmin As Boolean
) As Integer
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:
Int32See Also