GroupCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |