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

Category FlickrNet::Flickr::GroupsBrowse ( long  catId  )  [inline]

Returns the Category specified by the category id with a list of sub-categories and groups.

Parameters:
catId 
Returns:
A Category instance.

Definition at line 1177 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.groups.browse");
                  parameters.Add("cat_id", catId.ToString());
                  FlickrNet.Response response = GetResponseCache(parameters);

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


Generated by  Doxygen 1.6.0   Back to index