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

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

Remove a picture from a group.

Parameters:
photoId The id of one of your pictures you wish to remove.
groupId The id of the group to remove the picture from.
Returns:
True if the photo is successfully removed.

Definition at line 1299 of file Flickr.cs.

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