Delen via


DiscussionCommentsController.DeleteComment Method

Remove a discussion comment DELETE /_apis/discussion/{discussionId}/comments/{commentId}

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

Syntax

'Declaration
Public Function DeleteComment ( _
    discussionId As Integer, _
    commentId As Short _
) As HttpResponseMessage
public HttpResponseMessage DeleteComment(
    int discussionId,
    short commentId
)
public:
HttpResponseMessage^ DeleteComment(
    int discussionId, 
    short commentId
)
member DeleteComment : 
        discussionId:int * 
        commentId:int16 -> HttpResponseMessage
public function DeleteComment(
    discussionId : int, 
    commentId : short
) : HttpResponseMessage

Parameters

Return Value

Type: System.Net.Http.HttpResponseMessage

.NET Framework Security

See Also

Reference

DiscussionCommentsController Class

Microsoft.TeamFoundation.Discussion.Server Namespace