示例#1
0
 /// <summary>
 /// Insert the specified <see cref="PerformanceData"/> struct into the list at the specified ordinal location.
 /// </summary>
 /// <param name="index">
 /// The ordinal location at which to insert
 /// </param>
 /// <param name="perfData">
 /// The <see cref="PerformanceData"/> struct to be inserted
 /// </param>
 public void Insert(int index, PerformanceData perfData)
 {
     this.DataCollection.Insert(index, perfData);
 }
示例#2
0
 /// <summary>
 /// Adds the specified <see cref="PerformanceData"/> struct to the end of the collection.
 /// </summary>
 /// <param name="perfData">
 /// A <see cref="PerformanceData"/> struct to be added
 /// </param>
 /// <returns>
 /// The ordinal position in the collection where the values were added
 /// </returns>
 public int Add(PerformanceData perfData)
 {
     return this.DataCollection.Add(perfData);
 }