This topic has not yet been rated - Rate this topic

SectionGroupCollection Class

IIS 7.0

Represents a collection of related SectionGroup objects.

System..::..Object
  Microsoft.Web.Administration..::..SectionGroupCollection

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.

  Name Description
Public property Count Gets the number of section groups in the collection.
Public property Item[([(Int32])]) Gets the specified section group at the specified index.
Public property Item[([(String])]) Gets the specified section group that has the specified name.
Top
  Name Description
Public method Add Adds a new section group to the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns a generic enumerator that iterates through the section group collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes the specified section group from the collection.
Public method ToString (Inherited from Object.)
Top
  Name Description
Explicit interface implemetation Private method ICollection..::..CopyTo Copies the collection to an array, starting at the specified index of the target array.
Explicit interface implemetation Private method IEnumerable..::..GetEnumerator Returns an enumerator that iterates through the section group collection.
Explicit interface implemetation Private property ICollection..::..IsSynchronized Gets a value indicating whether access to the section group collection is synchronized (thread safe).
Explicit interface implemetation Private property ICollection..::..SyncRoot Gets an object that synchronizes access to the section group collection.
Top

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ