SectionGroupCollection Class
IIS 7.0
Represents a collection of related SectionGroup objects.
Namespace:
Microsoft.Web.Administration
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
The SectionGroupCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
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. |
| Name | Description | |
|---|---|---|
|
Add | Adds a new section group to the collection. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | Returns a generic enumerator that iterates through the section group collection. |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Remove | Removes the specified section group from the collection. |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ICollection..::..CopyTo | Copies the collection to an array, starting at the specified index of the target array. |
|
IEnumerable..::..GetEnumerator | Returns an enumerator that iterates through the section group collection. |
|
ICollection..::..IsSynchronized | Gets a value indicating whether access to the section group collection is synchronized (thread safe). |
|
ICollection..::..SyncRoot | Gets 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.