コード例 #1
0
		/// <summary>
		/// Adds the elements of an array to the end of this OrderByTermCollection.
		/// </summary>
		/// <param name="items">
		/// The array whose elements are to be added to the end of this OrderByTermCollection.
		/// </param>
		public virtual void AddRange(OrderByTerm[] items)
		{
			foreach (OrderByTerm item in items)
			{
				List.Add(item);
			}
		}
コード例 #2
0
 /// <summary>
 /// Determines whether a specfic OrderByTerm value is in this OrderByTermCollection.
 /// </summary>
 /// <param name="value">
 /// The OrderByTerm value to locate in this OrderByTermCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this OrderByTermCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(OrderByTerm value)
 {
     return(List.Contains(value));
 }
コード例 #3
0
 /// <summary>
 /// Adds an instance of type OrderByTerm to the end of this OrderByTermCollection.
 /// </summary>
 /// <param name="value">
 /// The OrderByTerm to be added to the end of this OrderByTermCollection.
 /// </param>
 public virtual void Add(OrderByTerm value)
 {
     List.Add(value);
 }
コード例 #4
0
 /// <summary>
 /// Removes the first occurrence of a specific OrderByTerm from this OrderByTermCollection.
 /// </summary>
 /// <param name="value">
 /// The OrderByTerm value to remove from this OrderByTermCollection.
 /// </param>
 public virtual void Remove(OrderByTerm value)
 {
     List.Remove(value);
 }
コード例 #5
0
 /// <summary>
 /// Inserts an element into the OrderByTermCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the OrderByTerm is to be inserted.
 /// </param>
 /// <param name="value">
 /// The OrderByTerm to insert.
 /// </param>
 public virtual void Insert(int index, OrderByTerm value)
 {
     List.Insert(index, value);
 }
コード例 #6
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this OrderByTermCollection
 /// </summary>
 /// <param name="value">
 /// The OrderByTerm value to locate in the OrderByTermCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(OrderByTerm value)
 {
     return(List.IndexOf(value));
 }
コード例 #7
0
		/// <summary>
		/// Determines whether a specfic OrderByTerm value is in this OrderByTermCollection.
		/// </summary>
		/// <param name="value">
		/// The OrderByTerm value to locate in this OrderByTermCollection.
		/// </param>
		/// <returns>
		/// true if value is found in this OrderByTermCollection;
		/// false otherwise.
		/// </returns>
		public virtual bool Contains(OrderByTerm value)
		{
			return List.Contains(value);
		}
コード例 #8
0
		/// <summary>
		/// Adds an instance of type OrderByTerm to the end of this OrderByTermCollection.
		/// </summary>
		/// <param name="value">
		/// The OrderByTerm to be added to the end of this OrderByTermCollection.
		/// </param>
		public virtual void Add(OrderByTerm value)
		{
			List.Add(value);
		}
コード例 #9
0
		/// <summary>
		/// Initializes a new instance of the OrderByTermCollection class, containing elements
		/// copied from an array.
		/// </summary>
		/// <param name="items">
		/// The array whose elements are to be added to the new OrderByTermCollection.
		/// </param>
		public OrderByTermCollection(OrderByTerm[] items)
		{
			AddRange(items);
		}
コード例 #10
0
		/// <summary>
		/// Removes the first occurrence of a specific OrderByTerm from this OrderByTermCollection.
		/// </summary>
		/// <param name="value">
		/// The OrderByTerm value to remove from this OrderByTermCollection.
		/// </param>
		public virtual void Remove(OrderByTerm value)
		{
			List.Remove(value);
		}
コード例 #11
0
		/// <summary>
		/// Inserts an element into the OrderByTermCollection at the specified index
		/// </summary>
		/// <param name="index">
		/// The index at which the OrderByTerm is to be inserted.
		/// </param>
		/// <param name="value">
		/// The OrderByTerm to insert.
		/// </param>
		public virtual void Insert(int index, OrderByTerm value)
		{
			List.Insert(index, value);
		}
コード例 #12
0
		/// <summary>
		/// Return the zero-based index of the first occurrence of a specific value
		/// in this OrderByTermCollection
		/// </summary>
		/// <param name="value">
		/// The OrderByTerm value to locate in the OrderByTermCollection.
		/// </param>
		/// <returns>
		/// The zero-based index of the first occurrence of the _ELEMENT value if found;
		/// -1 otherwise.
		/// </returns>
		public virtual int IndexOf(OrderByTerm value)
		{
			return List.IndexOf(value);
		}