SectionDefinitionCollection Class
Represents a collection of related SectionDefinition objects.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of section definitions in the collection. |
![]() | Item(Int32) | Gets the specified section definition at the specified index. |
![]() | Item(String) | Gets the specified section definition that has the specified name. |
| Name | Description | |
|---|---|---|
![]() | Add(String) | Adds a new section definition to the collection. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetEnumerator() | Returns a generic enumerator that iterates through the section definition collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Remove(String) | Removes the specified section definition from the collection. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection.CopyTo(Array, Int32) | Copies the collection to an array. |
![]() ![]() | IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the section definition collection. |
![]() ![]() | ICollection.IsSynchronized | |
![]() ![]() | ICollection.SyncRoot |
Use the SectionDefinitionCollection class to iterate through a collection of SectionDefinition objects. You can access this collection of objects by using the SectionGroup.Sections 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.




