FlickrNet.Flickr.PhotosetsCreate C# (CSharp) Method

PhotosetsCreate() public method

Creates a blank photoset, with a title and a primary photo (minimum requirements).
public PhotosetsCreate ( string title, string primaryPhotoId ) : Photoset
title string The title of the photoset.
primaryPhotoId string The ID of the photo which will be the primary photo for the photoset. This photo will also be added to the set.
return Photoset
        public Photoset PhotosetsCreate(string title, string primaryPhotoId)
        {
            return PhotosetsCreate(title, null, primaryPhotoId);
        }

Same methods

Flickr::PhotosetsCreate ( string title, string description, string primaryPhotoId ) : Photoset

Usage Example

Exemplo n.º 1
0
 /// <summary>
 /// this method will create a flickr photoset and add the specified photo to it as well
 /// </summary>
 /// <param name="setName">the name of the new photoset to be created</param>
 /// <param name="photoId">the id of the primary photo in the new set</param>
 private void CreateFlickrPhotoSet(string setName, string photoId)
 {
     flickr.PhotosetsCreate(setName, photoId);
 }
Flickr