/// <summary> /// Removes the first occurrence of a specific RssChannel from this RssChannelCollection. /// </summary> /// <param name="value"> /// The RssChannel value to remove from this RssChannelCollection. /// </param> public virtual void Remove(IAChannel value) { this.List.Remove(value); }
/// <summary> /// Inserts an element into the RssChannelCollection at the specified index /// </summary> /// <param name="index"> /// The index at which the RssChannel is to be inserted. /// </param> /// <param name="value"> /// The RssChannel to insert. /// </param> public virtual void Insert(int index, IAChannel value) { this.List.Insert(index, value); }
/// <summary> /// Determines whether a specfic RssChannel value is in this RssChannelCollection. /// </summary> /// <param name="value"> /// The RssChannel value to locate in this RssChannelCollection. /// </param> /// <returns> /// true if value is found in this RssChannelCollection; /// false otherwise. /// </returns> public virtual bool Contains(IAChannel value) { return(this.List.Contains(value)); }
/// <summary> /// Return the zero-based index of the first occurrence of a specific value /// in this RssChannelCollection /// </summary> /// <param name="value"> /// The RssChannel value to locate in the RssChannelCollection. /// </param> /// <returns> /// The zero-based index of the first occurrence of the _ELEMENT value if found; /// -1 otherwise. /// </returns> public virtual int IndexOf(IAChannel value) { return(this.List.IndexOf(value)); }
/// <summary> /// Adds an instance of type RssChannel to the end of this RssChannelCollection. /// </summary> /// <param name="value"> /// The RssChannel to be added to the end of this RssChannelCollection. /// </param> public virtual void Add(IAChannel value) { this.List.Add(value); }