Delen via


DiscussionCommentsController.UpdateComment Method

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
<HttpPatchAttribute> _
Public Function UpdateComment ( _
    discussionId As Integer, _
    commentId As Short, _
    newComment As DiscussionComment _
) As HttpResponseMessage
[HttpPatchAttribute]
public HttpResponseMessage UpdateComment(
    int discussionId,
    short commentId,
    DiscussionComment newComment
)
[HttpPatchAttribute]
public:
HttpResponseMessage^ UpdateComment(
    int discussionId, 
    short commentId, 
    DiscussionComment^ newComment
)
[<HttpPatchAttribute>]
member UpdateComment : 
        discussionId:int * 
        commentId:int16 * 
        newComment:DiscussionComment -> HttpResponseMessage
public function UpdateComment(
    discussionId : int, 
    commentId : short, 
    newComment : DiscussionComment
) : HttpResponseMessage

Parameters

  • newComment
    Type: DiscussionComment

Return Value

Type: System.Net.Http.HttpResponseMessage

.NET Framework Security

See Also

Reference

DiscussionCommentsController Class

Microsoft.TeamFoundation.Discussion.Server Namespace