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