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

bool FlickrNet::Flickr::GroupPoolAdd ( string  photoId,
string  groupId 
) [inline]

Adds a photo to a pool you have permission to add photos to.

Parameters:
photoId The id of one of your photos to be added.
groupId The id of a group you are a member of.
Returns:
True on a successful addition.

Definition at line 1246 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.groups.pools.add");
                  parameters.Add("photo_id", photoId);
                  parameters.Add("group_id", groupId);
                  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