SectionGroupCollection SectionGroupCollection SectionGroupCollection 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
SectionGroupCollectionSectionGroupCollectionSectionGroupCollectionSectionGroupCollection
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 Count Count Count

Gets the number of section groups in the collection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the specified section group at the specified index.

Item[String] Item[String] Item[String] Item[String]

Gets the specified section group that has the specified name.

Methods

Add(String) Add(String) Add(String) Add(String)

Adds a new section group to the collection.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

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

Remove(String) Remove(String) Remove(String) Remove(String)

Removes the specified section group from the collection.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

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

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the section group collection.

Applies to