FoodCandy!

AtomLinkCollection Class Reference

A strongly typed collection of AtomLink objects.
See also:
AtomLink

. More...

List of all members.


Public Member Functions

int Add (AtomLink link)
 Adds an object to the end of the AtomLinkCollection.
bool Contains (AtomLink link)
 Determines whether the AtomLinkCollection contains a specific element.
void CopyTo (AtomLinkCollection[] array, int index)
 Copies the entire AtomLinkCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
int IndexOf (AtomLink link)
 Searches for the specified AtomLink and returns the zero-based index of the first occurrence within the entire AtomLinkCollection.
void Insert (int index, AtomLink link)
 Inserts a AtomLink into this collection at the specified index.
void Remove (AtomLink link)
 Removes the first occurrence of a specific AtomLink from the AtomLinkCollection.

Properties

AtomLink this [int index]
 Gets or sets the element at the specified index.

Detailed Description

A strongly typed collection of AtomLink objects.
See also:
AtomLink

.


Member Function Documentation

int Add AtomLink  link  ) 
 

Adds an object to the end of the AtomLinkCollection.

Parameters:
link The AtomLink to be added to the end of the AtomLinkCollection.
Returns:
The AtomLinkCollection index at which the value has been added.

bool Contains AtomLink  link  ) 
 

Determines whether the AtomLinkCollection contains a specific element.

Parameters:
link The AtomLink to locate in the AtomLinkCollection.
Returns:
true if the AtomLinkCollection contains the specified item, otherwise false.

void CopyTo AtomLinkCollection[]  array,
int  index
 

Copies the entire AtomLinkCollection to a compatible one-dimensional Array, starting at the specified index of the target array.

Parameters:
array The one-dimensional Array that is the destination of the elements copied from AtomLinkCollection. The Array must have zero-based indexing.
index The zero-based index in array at which copying begins.

int IndexOf AtomLink  link  ) 
 

Searches for the specified AtomLink and returns the zero-based index of the first occurrence within the entire AtomLinkCollection.

Parameters:
link The AtomLink to locate in the AtomLinkCollection.
Returns:
The zero-based index of the first occurrence of link within the entire AtomLinkCollection, if found; otherwise, -1.

void Insert int  index,
AtomLink  link
 

Inserts a AtomLink into this collection at the specified index.

Parameters:
index The zero-based index of the collection at which link should be inserted.
link The AtomLink to insert into this collection.

void Remove AtomLink  link  ) 
 

Removes the first occurrence of a specific AtomLink from the AtomLinkCollection.

Parameters:
link The AtomLink to remove from the AtomLinkCollection.

Property Documentation

AtomLink this[int index] [get, set]
 

Gets or sets the element at the specified index.

Parameters:
index The zero-based index of the element to get or set.

The documentation for this class was generated from the following file:
  • AtomLinkCollection.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:51 2007 | Doxygen 1.4.6-NO