DiscussionCommentsController.GetComments Method

Read all comments for a discussion thread GET /_apis/discussion/{discussionId}/comments

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

Syntax

'Declaration
Public Function GetComments ( _
    discussionId As Integer _
) As IList(Of DiscussionComment)
public IList<DiscussionComment> GetComments(
    int discussionId
)
public:
IList<DiscussionComment^>^ GetComments(
    int discussionId
)
member GetComments : 
        discussionId:int -> IList<DiscussionComment> 
public function GetComments(
    discussionId : int
) : IList<DiscussionComment>

Parameters

Return Value

Type: System.Collections.Generic.IList<DiscussionComment>

.NET Framework Security

See Also

Reference

DiscussionCommentsController Class

Microsoft.TeamFoundation.Discussion.Server Namespace