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)


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

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


Return value

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

See also


SPSocialFollowingManager class

SPSocialFollowingManager members

Microsoft.Office.Server.Social namespace