Search
GroupCollection Members
Constructors Fields Properties Methods
 


Represents a strongly typed collection of Group objects.

The following tables list the members exposed by the GroupCollection type.

 Public Constructors

  Name Description

GroupCollection

Initializes a new instance of the GroupCollection class.

 Protected Fields

  Name Description

groupEventArgs

A ItemEventArgs instance used for passing arguments to the event handlers for the events of this collection. Used to avoid creating many small objects that would burden the garbage collector.

InnerList

Gets a List<T> containing the list of elements in the collecion instance. (Inherited from CollectionBase.)

notifyParent

If enabled, the collection raises events to let their containing objects handle the addition or removal of items.

 Public Properties

  Name Description

Count

Gets the number of elements actually contained in the collection. (Inherited from CollectionBase.)

IsReadOnly

Gets a value indicating whether the collection is read-only. (Inherited from CollectionBase.)

Item

Gets or sets the element at the specified index. (Inherited from CollectionBase.)

 Public Methods

  Name Description

Add

Adds an object to the end of the collection. (Inherited from CollectionBase.)

Add

Adds the specified group to the collection.

Clear

Removes all groups from the collection.

Clone

Creates a shallow copy of this collection.

Contains

Determines whether an element is in the collection. (Inherited from CollectionBase.)

CopyTo

  (Inherited from CollectionBase.)

GetAt

The zero-based index of the group to retrieve.

GetEnumerator

Returns an enumerator that iterates through the collection. (Inherited from CollectionBase.)

IndexOf

Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection. (Inherited from CollectionBase.)

Insert

Inserts the specified group in the collection at the specified position.

Insert

Inserts an element into the collection at the specified index. (Inherited from CollectionBase.)

Remove

Removes the first occurrence of a specific object from the collection. (Inherited from CollectionBase.)

Remove

Removes the specified group from the collection.

RemoveAt

Removes the diagram item from the collection.

 Protected Methods

  Name Description

RaiseAdding

Raises the Adding event.

RaiseInserting

Raises the Inserting event.

RaiseRemoving

Raises the Removing event.

 See Also