예제 #1
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)
 {
     this.List.Add(value);
 }
예제 #2
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)
 {
     this.List.Remove(value);
 }
예제 #3
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(this.List.IndexOf(value));
 }
예제 #4
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)
 {
     this.List.Insert(index, value);
 }
예제 #5
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(this.List.Contains(value));
 }