FlickrNet.Flickr.TagsGetListPhoto C# (CSharp) Method

TagsGetListPhoto() public method

Get the tag list for a given photo.
public TagsGetListPhoto ( string photoId ) : PhotoInfo
photoId string The id of the photo to return tags for.
return PhotoInfo
        public PhotoInfo TagsGetListPhoto(string photoId)
        {
            Hashtable parameters = new Hashtable();
            parameters.Add("method", "flickr.tags.getListPhoto");
            parameters.Add("api_key", _apiKey);
            parameters.Add("photo_id", photoId);

            FlickrNet.Response response = GetResponseCache(parameters);

            if( response.Status == ResponseStatus.OK )
            {
                return response.PhotoInfo;
            }
            else
            {
                throw new FlickrException(response.Error);
            }
        }
Flickr