SocialFollowingManager.Follow method

Adds the specified actor to the current user's list of followed actors.

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

Syntax

'Declaration
Public Function Follow ( _
    actor As SocialActorInfo _
) As ClientResult(Of SocialFollowResult)
'Usage
Dim instance As SocialFollowingManager
Dim actor As SocialActorInfo
Dim returnValue As ClientResult(Of SocialFollowResult)

returnValue = instance.Follow(actor)
public ClientResult<SocialFollowResult> Follow(
    SocialActorInfo actor
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<SocialFollowResult>

Remarks

For code examples that show how to follow items, see How to: Follow people by using the .NET client object model in SharePoint 2013 and How to: Follow documents and sites by using the .NET client object model in SharePoint 2013.

See also

Reference

SocialFollowingManager class

SocialFollowingManager members

Microsoft.SharePoint.Client.Social namespace