O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

CounterCreationDataCollection

Synopsis

This class is a strongly-typed collection of CounterCreationData objects. Use Add() and AddRange() to add single or multiple values respectively to the end of the collection. Insert() allows you to add an item at any position in the collection. Remove() and RemoveAt() allow you to remove items from the collection.

public class CounterCreationDataCollection : CollectionBase {
// Public Constructors
   public method CounterCreationDataCollection();  
   public method CounterCreationDataCollection(
        CounterCreationData[] value);  
   public method CounterCreationDataCollection(
        CounterCreationDataCollection value);  
// Public Instance Properties
   public field CounterCreationData this{set; get; } 
// Public Instance Methods
   public method int Add(CounterCreationData value);  
   public method void AddRange(CounterCreationData[] value);  
   public method void AddRange(
        CounterCreationDataCollection value);  
   public method bool Contains(CounterCreationData value);  
   public method void CopyTo(CounterCreationData[] array, 
        int index);  
   public method int IndexOf(CounterCreationData value);  
   public method void Insert(int index, 
        CounterCreationData value);  
   public virtual method void Remove(
        CounterCreationData value);  
// Protected Instance Methods
   protected override method void OnInsert(int index, object value); 
          // overrides System.Collections.CollectionBase
        
}

Hierarchy

System.ObjectSystem.Collections.CollectionBase(System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required