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

Contacts FlickrNet::Flickr::ContactsGetPublicList ( string  userId  )  [inline]

Gets a list of the given users contact, or those that are publically avaiable.

Parameters:
userId The Id of the user who's contacts you want to return.
Returns:
An instance of the Contacts class containing the list of contacts.

Definition at line 997 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.contacts.getPublicList");
                  parameters.Add("user_id", userId);
                  FlickrNet.Response response = GetResponseCache(parameters);

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


Generated by  Doxygen 1.6.0   Back to index