Click or drag to resize
MessageBoardTransformationFunctionsGetBoardMessagesCount Method (Int32, String, String)
Returns the count of messages in given message board.

Namespace: CMS.MessageBoards.Web.UI
Assembly: CMS.MessageBoards.Web.UI (in CMS.MessageBoards.Web.UI.dll) Version: 10.0.0
Syntax
C#
public static int GetBoardMessagesCount(
	int documentId,
	string boardWebpartName,
	string type
)

Parameters

documentId
Type: SystemInt32
ID of the document.
boardWebpartName
Type: SystemString
Messageboard webpart name.
type
Type: SystemString
Type of messageboard: 'document', 'user' or 'group'.

Return Value

Type: Int32
See Also