Ejemplo n.º 1
0
        public void SetValue(IRfcTable table)
        {
            this.Clear();

            for (int i = 0; i < table.RowCount; i++)
            {
                table.CurrentIndex = i;
                BAPIACGL09 dataRow = this.CreateNewRow() as BAPIACGL09;
                dataRow.SetValue(table.CurrentRow);
                this.Add(dataRow);
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The BAPIACGL09 to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(BAPIACGL09 value)
 {
     return(List.Contains(value));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Searches for the specified BAPIACGL09 and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The BAPIACGL09 to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(BAPIACGL09 value)
 {
     return(List.IndexOf(value));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Inserts a BAPIACGL09 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 BAPIACGL09 to insert.</param>
 public void Insert(int index, BAPIACGL09 value)
 {
     List.Insert(index, value);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Adds a BAPIACGL09 to the end of the collection.
 /// </summary>
 /// <param name="value">The BAPIACGL09 to be added to the end of the collection.</param>
 /// <returns>The index of the newBAPIACGL09.</returns>
 public int Add(BAPIACGL09 value)
 {
     return(List.Add(value));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Removes the first occurrence of the specified BAPIACGL09 from the collection.
 /// </summary>
 /// <param name="value">The BAPIACGL09 to remove from the collection.</param>
 public void Remove(BAPIACGL09 value)
 {
     List.Remove(value);
 }