Share via


SectionGroupCollection Class

Definition

Represents a collection of related SectionGroup objects.

public ref class SectionGroupCollection sealed : System::Collections::Generic::IEnumerable<Microsoft::Web::Administration::SectionGroup ^>, System::Collections::ICollection
public sealed class SectionGroupCollection : System.Collections.Generic.IEnumerable<Microsoft.Web.Administration.SectionGroup>, System.Collections.ICollection
type SectionGroupCollection = class
    interface ICollection
    interface seq<SectionGroup>
    interface IEnumerable
Public NotInheritable Class SectionGroupCollection
Implements ICollection, IEnumerable(Of SectionGroup)
Inheritance
SectionGroupCollection
Implements

Remarks

Use the SectionGroupCollection class to iterate through a collection of SectionGroup objects. You can access this collection of objects by using the SectionGroups property.

Properties

Count

Gets the number of section groups in the collection.

Item[Int32]

Gets the specified section group at the specified index.

Item[String]

Gets the specified section group that has the specified name.

Methods

Add(String)

Adds a new section group to the collection.

GetEnumerator()

Returns a generic enumerator that iterates through the section group collection.

Remove(String)

Removes the specified section group from the collection.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the collection to an array, starting at the specified index of the target array.

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the section group collection.

Applies to