/// <summary>Removes a specified channel from this collection.</summary> /// <param name="channel">The channel to remove.</param> public void Remove(DSD.Site.UtilityClasses.RSS.NET.RssChannel.RssChannel channel) { List.Remove(channel); }
/// <summary>Inserts a channel into this collection at a specified index.</summary> /// <param name="index">The zero-based index of the collection at which to insert the channel.</param> /// <param name="channel">The channel to insert into this collection.</param> public void Insert(int index, DSD.Site.UtilityClasses.RSS.NET.RssChannel.RssChannel channel) { List.Insert(index, channel); }
/// <summary>Searches for the specified RssChannel and returns the zero-based index of the first occurrence within the entire RssChannelCollection.</summary> /// <param name="rssChannel">The RssChannel to locate in the RssChannelCollection.</param> /// <returns>The zero-based index of the first occurrence of RssChannel within the entire RssChannelCollection, if found; otherwise, -1.</returns> public int IndexOf(DSD.Site.UtilityClasses.RSS.NET.RssChannel.RssChannel rssChannel) { return List.IndexOf(rssChannel); }
/// <summary>Copies the entire RssChannelCollection to a compatible one-dimensional <see cref="Array"/>, starting at the specified index of the target array.</summary> /// <param name="array">The one-dimensional RssChannel Array that is the destination of the elements copied from RssChannelCollection. 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 RssChannelCollection is greater than the available space from index to the end of the destination array.</exception> public void CopyTo(DSD.Site.UtilityClasses.RSS.NET.RssChannel.RssChannel[] array, int index) { List.CopyTo(array, index); }
/// <summary>Determines whether the RssChannelCollection contains a specific element.</summary> /// <param name="rssChannel">The RssChannel to locate in the RssChannelCollection.</param> /// <returns>true if the RssChannelCollection contains the specified value; otherwise, false.</returns> public bool Contains(DSD.Site.UtilityClasses.RSS.NET.RssChannel.RssChannel rssChannel) { return List.Contains(rssChannel); }
/// <summary>Adds a specified channel to this collection.</summary> /// <param name="channel">The channel to add.</param> /// <returns>The zero-based index of the added channel.</returns> public int Add(DSD.Site.UtilityClasses.RSS.NET.RssChannel.RssChannel channel) { return List.Add(channel); }