SocialFeedManager.LikePost 方法

Makes the current user a liker of the specified microblog post.

命名空间:  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 LikePost ( _
    postId As String _
) As ClientResult(Of SocialThread)
用法
Dim instance As SocialFeedManager
Dim postId As String
Dim returnValue As ClientResult(Of SocialThread)

returnValue = instance.LikePost(postId)
public ClientResult<SocialThread> LikePost(
    string postId
)

参数

  • postId
    类型:System.String

    The unique identifier of the post to like.

返回值

类型:Microsoft.SharePoint.Client.ClientResult<SocialThread>
A digest of the modified thread that includes the specified post.

另请参阅

引用

SocialFeedManager 类

SocialFeedManager 成员

Microsoft.SharePoint.Client.Social 命名空间