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