Condividi tramite


GroupCollection Class

Definition

Represents a collection of Group objects. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("710BF53B-DBF3-4e4c-B8B5-6C13BD730DD4")]
public sealed class GroupCollection : System.Collections.IList
[<System.Runtime.InteropServices.Guid("710BF53B-DBF3-4e4c-B8B5-6C13BD730DD4")>]
type GroupCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class GroupCollection
Implements IList
Inheritance
GroupCollection
Attributes
Implements

Constructors

GroupCollection()

Properties

Count

Gets the number of elements contained in the collection.

Item[Int32]

Gets or sets the Group element at the specified index.

Methods

Add(Group)

Adds the specified Group to the end of the collection.

AddRange(ICollection)

Adds the set of specified elements to the end of the collection.

Clear()

Removes all items from the collection.

Contains(Group)

Determines whether the specified Group exists in the collection.

CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

IndexOf(Group)

Searches for the specified Group and returns its zero-based index within the collection.

Insert(Int32, Group)

Inserts the specified Group to the collection at the specified index.

Remove(Group)

Removes the specified Group from this collection.

RemoveAt(Int32)

Removes the Group at the specified index.

Explicit Interface Implementations

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)

Applies to