DiscussionCommentsController.UpdateComment Method
Namespace: Microsoft.TeamFoundation.Discussion.Server
Assembly: Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)
Syntax
'Declaration
<HttpPatchAttribute> _
Public Function UpdateComment ( _
discussionId As Integer, _
commentId As Short, _
newComment As DiscussionComment _
) As HttpResponseMessage
[HttpPatchAttribute]
public HttpResponseMessage UpdateComment(
int discussionId,
short commentId,
DiscussionComment newComment
)
[HttpPatchAttribute]
public:
HttpResponseMessage^ UpdateComment(
int discussionId,
short commentId,
DiscussionComment^ newComment
)
[<HttpPatchAttribute>]
member UpdateComment :
discussionId:int *
commentId:int16 *
newComment:DiscussionComment -> HttpResponseMessage
public function UpdateComment(
discussionId : int,
commentId : short,
newComment : DiscussionComment
) : HttpResponseMessage
Parameters
- discussionId
Type: System.Int32
- commentId
Type: System.Int16
- newComment
Type: DiscussionComment
Return Value
Type: System.Net.Http.HttpResponseMessage
.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.