Delen via


DiscussionCommentsController.GetComment Method

Read a comment by id GET /_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 GetComment ( _
    discussionId As Integer, _
    commentId As Short _
) As DiscussionComment
public DiscussionComment GetComment(
    int discussionId,
    short commentId
)
public:
DiscussionComment^ GetComment(
    int discussionId, 
    short commentId
)
member GetComment : 
        discussionId:int * 
        commentId:int16 -> DiscussionComment
public function GetComment(
    discussionId : int, 
    commentId : short
) : DiscussionComment

Parameters

Return Value

Type: DiscussionComment

.NET Framework Security

See Also

Reference

DiscussionCommentsController Class

Microsoft.TeamFoundation.Discussion.Server Namespace