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

bool FlickrNet::Flickr::PhotosSetMeta ( string  photoId,
string  title,
string  description 
) [inline]

Sets the title and description of the photograph.

Parameters:
photoId The numerical photoId of the photograph.
title The new title of the photograph.
description The new description of the photograph.
Returns:
True when the operation is successful.
Exceptions:
FlickrException Thrown when the photo id cannot be found.

Definition at line 2427 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.photos.setMeta");
                  parameters.Add("photo_id", photoId);
                  parameters.Add("title", Utils.UrlEncode(title));
                  parameters.Add("description", Utils.UrlEncode(description));

                  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