/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The Z00_BURO_HI to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(Z00_BURO_HI value) { return(List.Contains(value)); }
/// <summary> /// Inserts a Z00_BURO_HI 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 Z00_BURO_HI to insert.</param> public void Insert(int index, Z00_BURO_HI value) { List.Insert(index, value); }
/// <summary> /// Searches for the specified Z00_BURO_HI and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The Z00_BURO_HI to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(Z00_BURO_HI value) { return(List.IndexOf(value)); }
/// <summary> /// Removes the first occurrence of the specified Z00_BURO_HI from the collection. /// </summary> /// <param name="value">The Z00_BURO_HI to remove from the collection.</param> public void Remove(Z00_BURO_HI value) { List.Remove(value); }
/// <summary> /// Adds a Z00_BURO_HI to the end of the collection. /// </summary> /// <param name="value">The Z00_BURO_HI to be added to the end of the collection.</param> /// <returns>The index of the newZ00_BURO_HI.</returns> public int Add(Z00_BURO_HI value) { return(List.Add(value)); }
/// <summary> /// Copies the contents of the Z00_BURO_HITable to the specified one-dimensional array starting at the specified index in the target array. /// </summary> /// <param name="array">The one-dimensional destination array.</param> /// <param name="index">The zero-based index in array at which copying begins.</param> public void CopyTo(Z00_BURO_HI[] array, int index) { List.CopyTo(array, index); }
public int HI_respuestaSeccionHankAlertCD(int estadoInc) { bool salir = false; int repeticiones=0; while (salir == false && estadoInc < etiSecc.Count) { switch(etiSecc[estadoInc].ToString()) { case "HI": if(repeticiones==0) { seccionHankAlertCD.Fecha = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); repeticiones++; } else { if(repeticiones<20) { seccionHankAlertCDTable.Add(seccionHankAlertCD); seccionHankAlertCD = new Z00_BURO_HI(); seccionHankAlertCD.Fecha = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); repeticiones++; } else { Console.WriteLine("Esta seccion solo se puede repetir 20 veces debe existir un error"); } } break; case "00": seccionHankAlertCD.Codigo = valSecc[estadoInc].ToString(); break; case "01": seccionHankAlertCD.Institucion = valSecc[estadoInc].ToString(); break; case "02": seccionHankAlertCD.Mensaje = valSecc[estadoInc].ToString(); break; default: salir= true; estadoInc=estadoInc-2; break; } estadoInc++; } seccionHankAlertCDTable.Add(seccionHankAlertCD); return estadoInc; }
/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The Z00_BURO_HI to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(Z00_BURO_HI value) { return List.Contains(value); }
/// <summary> /// Adds a Z00_BURO_HI to the end of the collection. /// </summary> /// <param name="value">The Z00_BURO_HI to be added to the end of the collection.</param> /// <returns>The index of the newZ00_BURO_HI.</returns> public int Add(Z00_BURO_HI value) { return List.Add(value); }
/// <summary> /// Searches for the specified Z00_BURO_HI and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The Z00_BURO_HI to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(Z00_BURO_HI value) { return List.IndexOf(value); }