This project has moved and is read-only. For the latest updates, please go here.

Photo Sets

Topics: Developer Forum, Project Management Forum
Jul 17, 2007 at 8:23 PM

I am having problems, I can't figure out how I can figure out how many sets are on my account. The PhotoSets object doesn't have a .length or anything. I am putting the PhotoSets. PhotoSetCollection in to an Array of Photoset. But I don't know how to find out how big to make my array, and it would be really lazy to just make it 100 or something.


Jul 18, 2007 at 10:23 AM
The PhotoSetCollection is an array of PhotoSet. It has a .Length property.

Console.WriteLine("There are " & psets.Length & " photosets")
For Each pset As PhotoSet In psets.PhotoSetCollection

Hope that helps.
Jul 18, 2007 at 4:57 PM
Very much Sam, Thanks