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
- discussionId
Type: System.Int32
Return Value
Type: System.Collections.Generic.IList<DiscussionComment>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.