/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The BAPI_WBS_ELEMENT_UPDATE to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(BAPI_WBS_ELEMENT_UPDATE value) { return(List.Contains(value)); }
/// <summary> /// Searches for the specified BAPI_WBS_ELEMENT_UPDATE and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The BAPI_WBS_ELEMENT_UPDATE to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(BAPI_WBS_ELEMENT_UPDATE value) { return(List.IndexOf(value)); }
/// <summary> /// Adds a BAPI_WBS_ELEMENT_UPDATE to the end of the collection. /// </summary> /// <param name="value">The BAPI_WBS_ELEMENT_UPDATE to be added to the end of the collection.</param> /// <returns>The index of the newBAPI_WBS_ELEMENT_UPDATE.</returns> public int Add(BAPI_WBS_ELEMENT_UPDATE value) { return(List.Add(value)); }
/// <summary> /// Inserts a BAPI_WBS_ELEMENT_UPDATE 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 BAPI_WBS_ELEMENT_UPDATE to insert.</param> public void Insert(int index, BAPI_WBS_ELEMENT_UPDATE value) { List.Insert(index, value); }
/// <summary> /// Removes the first occurrence of the specified BAPI_WBS_ELEMENT_UPDATE from the collection. /// </summary> /// <param name="value">The BAPI_WBS_ELEMENT_UPDATE to remove from the collection.</param> public void Remove(BAPI_WBS_ELEMENT_UPDATE value) { List.Remove(value); }