photoset

Dec 1, 2009 at 7:20 PM

Hey,
Can You help me and see how get all pictures from set to one array? I know i must use

Photoset ps = flickr.PhotosetsGetPhotos("721(...)948");

It works, no return error. But i dont know how use it to make from it array witch photos.

 

 

Coordinator
Dec 3, 2009 at 3:19 PM

The Photoset class inherits from List<Photo>, so you can use it directly in a foreach statement, or if it must be an array, call the Photoset.ToArray() method.

Alternatively, if you are using a slightly older version of the code then you can use the Photoset.PhotoCollection property which returns an Photo[].