/// <summary>Inserts an item into this collection at a specified index.</summary> /// <param name="index">The zero-based index of the collection at which to insert the item.</param> /// <param name="rssModule">The item to insert into this collection.</param> public void Insert(int index, RssModule rssModule) { List.Insert(index, rssModule); }
/// <summary>Removes a specified item from this collection.</summary> /// <param name="rssModule">The item to remove.</param> public void Remove(RssModule rssModule) { List.Remove(rssModule); }
/// <summary>Copies the entire RssModuleCollection to a compatible one-dimensional <see cref="Array"/>, starting at the specified index of the target array.</summary> /// <param name="array">The one-dimensional RssModule Array that is the destination of the elements copied from RssModuleCollection. The Array must have zero-based indexing.</param> /// <param name="index">The zero-based index in array at which copying begins.</param> /// <exception cref="ArgumentNullException">array is a null reference (Nothing in Visual Basic).</exception> /// <exception cref="ArgumentOutOfRangeException">index is less than zero.</exception> /// <exception cref="ArgumentException">array is multidimensional. -or- index is equal to or greater than the length of array.-or-The number of elements in the source RssModuleCollection is greater than the available space from index to the end of the destination array.</exception> public void CopyTo(RssModule[] array, int index) { List.CopyTo(array, index); }
/// <summary>Searches for the specified RssModule and returns the zero-based index of the first occurrence within the entire RssModuleCollection.</summary> /// <param name="rssModule">The RssModule to locate in the RssModuleCollection.</param> /// <returns>The zero-based index of the first occurrence of RssModule within the entire RssModuleCollection, if found; otherwise, -1.</returns> public int IndexOf(RssModule rssModule) { return List.IndexOf(rssModule); }
/// <summary>Adds a specified item to this collection.</summary> /// <param name="rssModule">The item to add.</param> /// <returns>The zero-based index of the added item.</returns> public int Add(RssModule rssModule) { return List.Add(rssModule); }
/// <summary>Determines whether the RssModuleCollection contains a specific element.</summary> /// <param name="rssModule">The RssModule to locate in the RssModuleCollection.</param> /// <returns>true if the RssModuleCollection contains the specified value; otherwise, false.</returns> public bool Contains(RssModule rssModule) { return List.Contains(rssModule); }
/// <summary>Searches for the specified RssModule and returns the zero-based index of the first occurrence within the entire RssModuleCollection.</summary> /// <param name="rssModule">The RssModule to locate in the RssModuleCollection.</param> /// <returns>The zero-based index of the first occurrence of RssModule within the entire RssModuleCollection, if found; otherwise, -1.</returns> public int IndexOf(RssModule rssModule) { return(List.IndexOf(rssModule)); }
/// <summary>Determines whether the RssModuleCollection contains a specific element.</summary> /// <param name="rssModule">The RssModule to locate in the RssModuleCollection.</param> /// <returns>true if the RssModuleCollection contains the specified value; otherwise, false.</returns> public bool Contains(RssModule rssModule) { return(List.Contains(rssModule)); }
/// <summary>Adds a specified item to this collection.</summary> /// <param name="rssModule">The item to add.</param> /// <returns>The zero-based index of the added item.</returns> public int Add(RssModule rssModule) { return(List.Add(rssModule)); }