SectionDefinitionCollection Class

 

Represents a collection of related SectionDefinition objects.

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

System.Object
  Microsoft.Web.Administration.SectionDefinitionCollection

public sealed class SectionDefinitionCollection : ICollection, 
	IEnumerable<SectionDefinition>, IEnumerable

NameDescription
System_CAPS_pubpropertyCount

Gets the number of section definitions in the collection.

System_CAPS_pubpropertyItem[Int32]

Gets the specified section definition at the specified index.

System_CAPS_pubpropertyItem[String]

Gets the specified section definition that has the specified name.

NameDescription
System_CAPS_pubmethodAdd(String)

Adds a new section definition to the collection.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemove(String)

Removes the specified section definition from the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the collection to an array.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the section definition collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.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.

Return to top
Show: