Beispiel #1
0
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The BAPIPREXP to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(BAPIPREXP value)
 {
     return(List.Contains(value));
 }
Beispiel #2
0
 /// <summary>
 /// Searches for the specified BAPIPREXP and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The BAPIPREXP to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(BAPIPREXP value)
 {
     return(List.IndexOf(value));
 }
Beispiel #3
0
 /// <summary>
 /// Adds a BAPIPREXP to the end of the collection.
 /// </summary>
 /// <param name="value">The BAPIPREXP to be added to the end of the collection.</param>
 /// <returns>The index of the newBAPIPREXP.</returns>
 public int Add(BAPIPREXP value)
 {
     return(List.Add(value));
 }
Beispiel #4
0
 /// <summary>
 /// Inserts a BAPIPREXP into the collection at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The BAPIPREXP to insert.</param>
 public void Insert(int index, BAPIPREXP value)
 {
     List.Insert(index, value);
 }
Beispiel #5
0
 /// <summary>
 /// Removes the first occurrence of the specified BAPIPREXP from the collection.
 /// </summary>
 /// <param name="value">The BAPIPREXP to remove from the collection.</param>
 public void Remove(BAPIPREXP value)
 {
     List.Remove(value);
 }