FoodCandy!

RssModuleItemCollection Class Reference

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

Inheritance diagram for RssModuleItemCollection:

RssPhotoAlbumCategory RssPhotoAlbumCategoryPhoto RssPhotoAlbumCategoryPhotoPeople List of all members.

Public Member Functions

int Add (RssModuleItem rssModuleItem)
 Adds a specified item to this collection.
bool Contains (RssModuleItem rssModuleItem)
 Determines whether the RssModuleItemCollection contains a specific element.
void CopyTo (RssModuleItem[] array, int index)
 Copies the entire RssModuleItemCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
int IndexOf (RssModuleItem rssModuleItem)
 Searches for the specified RssModuleItem and returns the zero-based index of the first occurrence within the entire RssModuleItemCollection.
void Insert (int index, RssModuleItem rssModuleItem)
 Inserts an item into this collection at a specified index.
void Remove (RssModuleItem rssModuleItem)
 Removes a specified item from this collection.
void BindTo (int itemHashCode)
 Bind a particular item to this module.
bool IsBoundTo (int itemHashCode)
 Check if a particular item is bound to this module.

Properties

RssModuleItem 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 RssModuleItem objects.


Member Function Documentation

int Add RssModuleItem  rssModuleItem  ) 
 

Adds a specified item to this collection.

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

void BindTo int  itemHashCode  ) 
 

Bind a particular item to this module.

Parameters:
itemHashCode Hash code of the item

bool Contains RssModuleItem  rssModuleItem  ) 
 

Determines whether the RssModuleItemCollection contains a specific element.

Parameters:
rssModuleItem The RssModuleItem to locate in the RssModuleItemCollection.
Returns:
true if the RssModuleItemCollection contains the specified value; otherwise, false.

void CopyTo RssModuleItem[]  array,
int  index
 

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

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

int IndexOf RssModuleItem  rssModuleItem  ) 
 

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

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

void Insert int  index,
RssModuleItem  rssModuleItem
 

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.
rssModuleItem The item to insert into this collection.

bool IsBoundTo int  itemHashCode  ) 
 

Check if a particular item is bound to this module.

Parameters:
itemHashCode Hash code of the item
Returns:
true if this item is bound to this module, otherwise false

void Remove RssModuleItem  rssModuleItem  ) 
 

Removes a specified item from this collection.

Parameters:
rssModuleItem The item to remove.

Property Documentation

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