次の方法で共有


SocialThread.TotalReplyCount property

Gets the count of the total number of replies for the thread.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public ReadOnly Property TotalReplyCount As Integer
    Get
'Usage
Dim instance As SocialThread
Dim value As Integer

value = instance.TotalReplyCount
public int TotalReplyCount { get; }

Property value

Type: System.Int32
The count of the total number of replies for the thread.

Remarks

The thread might be a digest thread, which includes only the last two replies. To get all replies for a thread, use the SPSocialFeedManager.GetFullThread method.

See also

Reference

SocialThread class

SocialThread members

Microsoft.SharePoint.Client.Social namespace