SocialFollowingManager.Follow - Méthode
Ajoute l'acteur spécifiée à la liste de l'utilisateur actuel des intervenants suivis.
Espace de noms : Microsoft.SharePoint.Client.Social
Assemblys : Microsoft.SharePoint.Client.UserProfiles.Silverlight (dans Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (dans Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (dans Microsoft.SharePoint.Client.UserProfiles.dll)
Syntaxe
'Déclaration
Public Function Follow ( _
actor As SocialActorInfo _
) As ClientResult(Of SocialFollowResult)
'Utilisation
Dim instance As SocialFollowingManager
Dim actor As SocialActorInfo
Dim returnValue As ClientResult(Of SocialFollowResult)
returnValue = instance.Follow(actor)
public ClientResult<SocialFollowResult> Follow(
SocialActorInfo actor
)
Paramètres
- actor
Type : Microsoft.SharePoint.Client.Social.SocialActorInfo
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<SocialFollowResult>
Remarques
Pour obtenir des exemples de code qui montrent comment suivre des éléments, voir How to: Follow people by using the .NET client object model in SharePoint 2013 et How to: Follow documents and sites by using the .NET client object model in SharePoint 2013.