public PhotosetsEditMeta ( string photosetId, string title, string description ) : bool | ||
photosetId | string | The ID of the photoset to update. |
title | string | The new title for the photoset. |
description | string | The new description for the photoset. |
Результат | bool |
public bool PhotosetsEditMeta(string photosetId, string title, string description)
{
Hashtable parameters = new Hashtable();
parameters.Add("method", "flickr.photosets.editMeta");
parameters.Add("photoset_id", photosetId);
parameters.Add("title", title);
parameters.Add("description", description);
FlickrNet.Response response = GetResponseNoCache(parameters);
if( response.Status == ResponseStatus.OK )
{
return true;
}
else
{
throw new FlickrException(response.Error);
}
}