SocialFeedManager.LikePost 方法
可讓您目前的使用者指定的微型部落格文章的 liker。
命名空間: 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喜歡文章的唯一識別碼。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<SocialThread>
修改執行緒,其中包含指定的文章的摘要。