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

GetComment() public method

Gets the Comment specified in the URL.

It mirrors To the following Smartsheet REST API method: GET /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 GetComment ( long sheetId, long commentId ) : Comment
sheetId long the id of the sheet
commentId long the id the of the comment
return Smartsheet.Api.Models.Comment
        public virtual Comment GetComment(long sheetId, long commentId)
        {
            return this.GetResource<Comment>("sheets/" + sheetId + "/comments/" + commentId, typeof(Comment));
        }