Export (0) Print
Expand All

SectionGroupCollection Class

Represents a collection of related SectionGroup objects.


Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public sealed class SectionGroupCollection : ICollection, 
	IEnumerable<SectionGroup>, IEnumerable

The SectionGroupCollection type exposes the following members.

Public propertyCountGets the number of section groups in the collection.
Public propertyItem[([(Int32])])Gets the specified section group at the specified index.
Public propertyItem[([(String])])Gets the specified section group that has the specified name.

Public methodAddAdds a new section group to the collection.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorReturns a generic enumerator that iterates through the section group collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveRemoves the specified section group from the collection.
Public methodToString (Inherited from Object.)

Explicit interface implemetationPrivate methodICollection..::..CopyToCopies the collection to an array, starting at the specified index of the target array.
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumeratorReturns an enumerator that iterates through the section group collection.
Explicit interface implemetationPrivate propertyICollection..::..IsSynchronizedGets a value indicating whether access to the section group collection is synchronized (thread safe).
Explicit interface implemetationPrivate propertyICollection..::..SyncRootGets an object that synchronizes access to the section group collection.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft