Exemple #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);
 }
Exemple #2
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);
 }
Exemple #3
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);
 }
Exemple #4
0
 /// <summary>
 /// Adds the elements of an array to the end of this NavigatorItemCollection.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the end of this NavigatorItemCollection.
 /// </param>
 public virtual void AddRange(NavigatorItem[] items)
 {
     foreach (NavigatorItem item in items)
     {
         this.List.Add(item);
     }
 }
Exemple #5
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);
 }
Exemple #6
0
 /// <summary>
 /// Initializes a new instance of the NavigatorItemCollection class, containing elements
 /// copied from an array.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the new NavigatorItemCollection.
 /// </param>
 public NavigatorItemCollection(NavigatorItem[] items)
 {
     this.AddRange(items);
 }
Exemple #7
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);
 }
Exemple #8
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);
 }
Exemple #9
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);
 }
Exemple #10
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));
 }
Exemple #11
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));
 }
Exemple #12
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);
 }