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