FoodCandy!

RssChannelCollection Class Reference

A strongly typed collection of RssChannel objects. More...

List of all members.


Public Member Functions

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

Properties

RssChannel this [int index]
 Gets or sets the channel at a specified index.

In C#, this property is the indexer for the class.

.


Detailed Description

A strongly typed collection of RssChannel objects.


Member Function Documentation

int Add RssChannel  channel  ) 
 

Adds a specified channel to this collection.

Parameters:
channel The channel to add.
Returns:
The zero-based index of the added channel.

bool Contains RssChannel  rssChannel  ) 
 

Determines whether the RssChannelCollection contains a specific element.

Parameters:
rssChannel The RssChannel to locate in the RssChannelCollection.
Returns:
true if the RssChannelCollection contains the specified value; otherwise, false.

void CopyTo RssChannel[]  array,
int  index
 

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

Parameters:
array The one-dimensional RssChannel Array that is the destination of the elements copied from RssChannelCollection. The Array must have zero-based indexing.
index The zero-based index in array at which copying begins.
Exceptions:
ArgumentNullException array is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeException index is less than zero.
ArgumentException array is multidimensional. -or- index is equal to or greater than the length of array.-or-The number of elements in the source RssChannelCollection is greater than the available space from index to the end of the destination array.

int IndexOf RssChannel  rssChannel  ) 
 

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

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

void Insert int  index,
RssChannel  channel
 

Inserts a channel into this collection at a specified index.

Parameters:
index The zero-based index of the collection at which to insert the channel.
channel The channel to insert into this collection.

void Remove RssChannel  channel  ) 
 

Removes a specified channel from this collection.

Parameters:
channel The channel to remove.

Property Documentation

RssChannel this[int index] [get, set]
 

Gets or sets the channel at a specified index.

In C#, this property is the indexer for the class.

.

Parameters:
index The index of the collection to access.

A channel at each valid index.

This method is an indexer that can be used to access the collection.

Exceptions:
ArgumentOutOfRangeException index is not a valid index.

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