将指定操作者添加到当前用户的已关注操作者列表中。
命名空间: Microsoft.SharePoint.Client.Social
程序集: Microsoft.SharePoint.Client.UserProfiles.Silverlight(位于 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中); Microsoft.SharePoint.Client.UserProfiles.Phone(位于 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中) Microsoft.SharePoint.Client.UserProfiles(位于 Microsoft.SharePoint.Client.UserProfiles.dll 中)
语法
声明
Public Function Follow ( _
actor As SocialActorInfo _
) As ClientResult(Of SocialFollowResult)
用法
Dim instance As SocialFollowingManager
Dim actor As SocialActorInfo
Dim returnValue As ClientResult(Of SocialFollowResult)
returnValue = instance.Follow(actor)
public ClientResult<SocialFollowResult> Follow(
SocialActorInfo actor
)
参数
返回值
类型:Microsoft.SharePoint.Client.ClientResult<SocialFollowResult>
备注
显示如何关注项目的代码示例,请参阅如何:使用 SharePoint 2013 中的 .NET 客户端对象模型关注好友和如何:使用 SharePoint 2013 中的 .NET 客户端对象模型关注文档和网站。