Share via


SPSocialFollowingManager.GetFollowedCount method

Retrieves a count of actors that the current user is following.

Namespace:  Microsoft.Office.Server.Social
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function GetFollowedCount ( _
    types As SPSocialActorTypes _
) As Integer
'Usage
Dim instance As SPSocialFollowingManager
Dim types As SPSocialActorTypes
Dim returnValue As Integer

returnValue = instance.GetFollowedCount(types)
public int GetFollowedCount(
    SPSocialActorTypes types
)

Parameters

Return value

Type: System.Int32
The number of actors of the specified types that the current user is following.

See also

Reference

SPSocialFollowingManager class

SPSocialFollowingManager members

Microsoft.Office.Server.Social namespace