SnCore!

AtomContentCollection Class Reference

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

. More...

List of all members.


Public Member Functions

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

Properties

AtomContent this [int index] [get, set]
 Gets or sets the element at the specified index.

Detailed Description

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

.


Member Function Documentation

int Add ( AtomContent  content  ) 

Adds an object to the end of the AtomContentCollection.

Parameters:
content The AtomContent to be added to the end of the AtomContentCollection.
Returns:
The AtomContentCollection index at which the value has been added.

bool Contains ( AtomContent  content  ) 

Determines whether the AtomContentCollection contains a specific element.

Parameters:
content The AtomContent to locate in the AtomContentCollection.
Returns:
true if the AtomContentCollection contains the specified item, otherwise false.

void CopyTo ( AtomContentCollection[]  array,
int  index 
)

Copies the entire AtomContentCollection 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 AtomContentCollection. The Array must have zero-based indexing.
index The zero-based index in array at which copying begins.

int IndexOf ( AtomContent  content  ) 

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

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

void Insert ( int  index,
AtomContent  content 
)

Inserts a AtomContent into this collection at the specified index.

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

void Remove ( AtomContent  content  ) 

Removes the first occurrence of a specific AtomContent from the AtomContentCollection.

Parameters:
content The AtomContent to remove from the AtomContentCollection.


Property Documentation

AtomContent 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:
  • AtomContentCollection.cs
© Vestris Inc., 2006-2007, All Rights Reserved | SnCore | Wed Mar 5 09:56:25 2008 | Doxygen 1.5.4