Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

bool FlickrNet::Flickr::PhotosRemoveTag ( long  tagId  )  [inline]

Remove an existing tag.

Parameters:
tagId The id of the tag, as returned by Flickr.PhotosGetInfo or similar method.
Returns:
True if the tag was removed.

Definition at line 2098 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.photos.removeTag");
                  parameters.Add("tag_id", tagId.ToString());

                  FlickrNet.Response response = GetResponseCache(parameters);

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


Generated by  Doxygen 1.6.0   Back to index