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
- discussionId
Type: System.Int32
- commentId
Type: System.Int16
Return Value
Type: 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.