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

AllContexts FlickrNet::Flickr::PhotosGetAllContexts ( string  photoId  )  [inline]

Get all the contexts (group, set and photostream 'next' and 'previous' pictures) for a photo.

photoId The photo id of the photo to get the contexts for.
An instance of the AllContexts class.

Definition at line 1682 of file Flickr.cs.

                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.photos.getAllContexts");
                  parameters.Add("photo_id", photoId);

                  FlickrNet.Response response = GetResponseCache(parameters);

                  if( response.Status == ResponseStatus.OK )
                        AllContexts contexts = new AllContexts(response.AllElements[0]);
                        return contexts;
                        throw new FlickrException(response.Error);


Generated by  Doxygen 1.6.0   Back to index