FlickrNet.Flickr.PhotosGeoRemoveLocation C# (CSharp) Method

PhotosGeoRemoveLocation() public method

Removes Location information.
public PhotosGeoRemoveLocation ( string photoId ) : bool
photoId string The photo ID of the photo to remove information from.
return bool
        public bool PhotosGeoRemoveLocation(string photoId)
        {
            Hashtable parameters = new Hashtable();
            parameters.Add("method", "flickr.photos.geo.removeLocation");
            parameters.Add("photo_id", photoId);

            FlickrNet.Response response = GetResponseNoCache(parameters);
            if( response.Status == ResponseStatus.OK )
            {
                return true;
            }
            else
            {
                if( response.Error.Code == 2 )
                    return false;
                else
                    throw new FlickrException(response.Error);
            }
        }
Flickr