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