Share via


CommentCount Property

The CommentCount property of the SPDocDiscussion class gets the total number of comments made by users for a document.

Property Value

A 32-bit integer that represents the number of comments.

Remarks

The CommentCount property represents the total number of root messages and replies associated with a document.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security