SectionDefinitionCollection
SectionDefinitionCollection
SectionDefinitionCollection
SectionDefinitionCollection
Class
Definition
Represents a collection of related SectionDefinition objects.
public ref class SectionDefinitionCollection sealed : System::Collections::Generic::IEnumerable<Microsoft::Web::Administration::SectionDefinition ^>, System::Collections::ICollection
public sealed class SectionDefinitionCollection : System.Collections.Generic.IEnumerable<Microsoft.Web.Administration.SectionDefinition>, System.Collections.ICollection
type SectionDefinitionCollection = class
interface ICollection
interface seq<SectionDefinition>
interface IEnumerable
Public NotInheritable Class SectionDefinitionCollection
Implements ICollection, IEnumerable(Of SectionDefinition)
- Inheritance
- Implements
Remarks
Use the SectionDefinitionCollection class to iterate through a collection of SectionDefinition objects. You can access this collection of objects by using the Microsoft.Web.Administration.SectionGroup.Sections property.
Properties
Count Count Count Count |
Gets the number of section definitions in the collection. |
Item[Int32] Item[Int32] Item[Int32] Item[Int32] |
Gets the specified section definition at the specified index. |
Item[String] Item[String] Item[String] Item[String] |
Gets the specified section definition that has the specified name. |
Methods
Add(String) Add(String) Add(String) Add(String) |
Adds a new section definition to the collection. |
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator() |
Returns a generic enumerator that iterates through the section definition collection. |
Remove(String) Remove(String) Remove(String) Remove(String) |
Removes the specified section definition from the collection. |
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) |
Copies the collection to an array. |
ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized | |
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot | |
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the section definition collection. |
Applies to
Feedback
Loading feedback...