FlickrNet.Flickr.GroupPoolRemove C# (CSharp) Method

GroupPoolRemove() public method

Remove a picture from a group.
public GroupPoolRemove ( string photoId, string groupId ) : bool
photoId string The id of one of your pictures you wish to remove.
groupId string The id of the group to remove the picture from.
return bool
        public bool GroupPoolRemove(string photoId, string groupId)
        {
            Hashtable parameters = new Hashtable();
            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);
            }
        }
Flickr