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