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

void FlickrNet::Flickr::PhotosAddTags ( string  photoId,
string  tags 
) [inline]

Add a selection of tags to a photo.

Parameters:
photoId The photo id of the photo.
tags An string of comma delimited tags.
Returns:
True if the tags are added successfully.

Definition at line 1657 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.photos.addTags");
                  parameters.Add("photo_id", photoId);
                  parameters.Add("tags", tags);

                  FlickrNet.Response response = GetResponseCache(parameters);

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


Generated by  Doxygen 1.6.0   Back to index