示例#1
0
        /// <summary>
        /// Adds the specified HotArea object to the collection.
        /// </summary>
        /// <param name="value">The HotArea object to add to the collection.</param>
        /// <returns>The HotArea object added to the collection.</returns>
        public HotArea Add(HotArea value)
        {
            // Use base class to process actual collection operation
            base.List.Add(value as object);

            return(value);
        }
示例#2
0
 /// <summary>
 /// Returns the index of the first occurrence of the given HotArea.
 /// </summary>
 /// <param name="value">The HotArea to locate.</param>
 /// <returns>Index of object; otherwise -1</returns>
 public int IndexOf(HotArea value)
 {
     // Find the 0 based index of the requested entry
     return(base.List.IndexOf(value));
 }
示例#3
0
 /// <summary>
 /// Determines whether a HotArea is in the collection.
 /// </summary>
 /// <param name="value">The HotArea to locate in the collection.</param>
 /// <returns>true if item is found in the collection; otherwise, false.</returns>
 public bool Contains(HotArea value)
 {
     // Use base class to process actual collection operation
     return(base.List.Contains(value as object));
 }
示例#4
0
 /// <summary>
 /// Inserts a HotArea instance into the collection at the specified location.
 /// </summary>
 /// <param name="index">The location in the collection where you want to add the HotArea.</param>
 /// <param name="value">The HotArea object to insert.</param>
 public void Insert(int index, HotArea value)
 {
     // Use base class to process actual collection operation
     base.List.Insert(index, value as object);
 }
示例#5
0
 /// <summary>
 /// Removes a HotArea from the collection.
 /// </summary>
 /// <param name="value">A HotArea to remove from the collection.</param>
 public void Remove(HotArea value)
 {
     // Use base class to process actual collection operation
     base.List.Remove(value as object);
 }