Smartsheet.Api.Internal.SheetCommentResourcesImpl.DeleteComment C# (CSharp) Method

DeleteComment() public method

Deletes the Comment specified in the URL.

It mirrors To the following Smartsheet REST API method: DELETE /sheets/{sheetId}/comments/{commentId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public DeleteComment ( long sheetId, long commentId ) : void
sheetId long the sheetId
commentId long the commentId
return void
        public virtual void DeleteComment(long sheetId, long commentId)
        {
            this.DeleteResource<Comment>("sheets/" + sheetId + "/comments/" + commentId, typeof(Comment));
        }