FoodCandy!

RssItemCollection Class Reference

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

List of all members.


Public Member Functions

int Add (RssItem item)
 Adds a specified item to this collection.
bool Contains (RssItem rssItem)
 Determines whether the RssItemCollection contains a specific element.
void CopyTo (RssItem[] array, int index)
 Copies the entire RssItemCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
int IndexOf (RssItem rssItem)
 Searches for the specified RssItem and returns the zero-based index of the first occurrence within the entire RssItemCollection.
void Insert (int index, RssItem item)
 Inserts an item into this collection at a specified index.
void Remove (RssItem item)
 Removes a specified item from this collection.
DateTime LatestPubDate ()
 The latest pubDate in the items collection.
DateTime OldestPubDate ()
 The oldest pubDate in the items collection.

Properties

RssItem this [int index]
 Gets or sets the item at a specified index.

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

.


Detailed Description

A strongly typed collection of RssItem objects.


Member Function Documentation

int Add RssItem  item  ) 
 

Adds a specified item to this collection.

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

bool Contains RssItem  rssItem  ) 
 

Determines whether the RssItemCollection contains a specific element.

Parameters:
rssItem The RssItem to locate in the RssItemCollection.
Returns:
true if the RssItemCollection contains the specified value; otherwise, false.

void CopyTo RssItem[]  array,
int  index
 

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

Parameters:
array The one-dimensional RssItem Array that is the destination of the elements copied from RssItemCollection. 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 RssItemCollection is greater than the available space from index to the end of the destination array.

int IndexOf RssItem  rssItem  ) 
 

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

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

void Insert int  index,
RssItem  item
 

Inserts an item into this collection at a specified index.

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

DateTime LatestPubDate  ) 
 

The latest pubDate in the items collection.

The latest pubDate -or- RssDefault.DateTime if all item pubDates are not defined

DateTime OldestPubDate  ) 
 

The oldest pubDate in the items collection.

The oldest pubDate -or- RssDefault.DateTime if all item pubDates are not defined

void Remove RssItem  item  ) 
 

Removes a specified item from this collection.

Parameters:
item The item to remove.

Property Documentation

RssItem this[int index] [get, set]
 

Gets or sets the item at a specified index.

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

.

Parameters:
index The index of the collection to access.

An item 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:
  • RssItemCollection.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:51 2007 | Doxygen 1.4.6-NO