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
types
Type: Microsoft.Office.Server.Social.SPSocialActorTypesThe types of actors to include in the count.
Return value
Type: System.Int32
The number of actors of the specified types that the current user is following.
See also
Reference
SPSocialFollowingManager class