FlickrNet.Flickr.PhotosCommentsEditComment C# (CSharp) Method

PhotosCommentsEditComment() public method

Edits a comment.
public PhotosCommentsEditComment ( string commentId, string commentText ) : void
commentId string The ID of the comment to edit.
commentText string The new text for the comment.
return void
        public void PhotosCommentsEditComment(string commentId, string commentText)
        {
            Hashtable parameters = new Hashtable();
            parameters.Add("method", "flickr.photos.comments.editComment");
            parameters.Add("comment_id", commentId);
            parameters.Add("comment_text", commentText);

            FlickrNet.Response response = GetResponseNoCache(parameters);

            if( response.Status == ResponseStatus.OK )
            {
                return;
            }
            else
            {
                throw new FlickrException(response.Error);
            }
        }
Flickr