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

FlickrNet::PhotoCollection Class Reference

List of all members.

Detailed Description

A collection of Photo instances.

Definition at line 47 of file Photos.cs.

Public Member Functions

int Add (Photo photo)
 Adds a Photo to the collection.
void AddRange (PhotoCollection collection)
 Adds all of the photos in another PhotoCollection to this collection.
void AddRange (Photo[] photos)
 Adds an array of Photo instances to this collection.
bool Contains (Photo photo)
 Returns true if the collection contains the photo.
void CopyTo (Photo[] array, int index)
 Copies the elements of the collection to an array of Photo, starting at a particular index.
int IndexOf (Photo photo)
 Gets the index of a photo in this collection.
void Insert (int index, Photo photo)
 Inserts a Photo into the collection at the given index.
 PhotoCollection (Photo[] photos)
 Creates an instance of the PhotoCollection from an array of Photo instances.
 PhotoCollection ()
 Default constructor.
void Remove (Photo photo)
 Removes a photo from the collection.
Photo[] ToPhotoArray ()
 Converts the collection to an array of Photo objects.

Static Public Member Functions

static PhotoCollection FromPhotoArray (Photo[] photos)
 Creates a PhotoCollection from an array of Photo objects.
static implicit operator Photo[] (PhotoCollection collection)
 Converts a PhotoCollection instance to an array of Photo objects.
static implicit operator PhotoCollection (Photo[] photos)
 Implicitly converts an array of Photo objects to a PhotoCollection.


bool IsFixedSize [get]
 Gets an instance specifying whether the collection is a fixed size.
bool IsReadOnly [get]
 Gets a value indicating whether the collection is read-only.
bool IsSynchronized [get]
 Gets a value indicating if the collection is synchronized (thread-safe).
int Length [get]
 Gets number of photos in the current collection.
object SyncRoot [get]
 Gets an object that can be used to synchronize the collection.
Photo this [int index] [get, set]
 Gets or sets a photo based on the index in the collection.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index