ConfigurationElementCollectionBase(Of T) Class
Provides the abstract base class for a strongly typed collection of configuration elements.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
Microsoft.Web.Administration.ConfigurationElement
Microsoft.Web.Administration.ConfigurationElementCollectionBase(Of T)
Microsoft.Web.Administration.ApplicationCollection
Microsoft.Web.Administration.ApplicationDomainCollection
Microsoft.Web.Administration.ApplicationPoolCollection
Microsoft.Web.Administration.BindingCollection
Microsoft.Web.Administration.ConfigurationElementCollection
Microsoft.Web.Administration.CustomLogFieldCollection
Microsoft.Web.Administration.RequestCollection
Microsoft.Web.Administration.ScheduleCollection
Microsoft.Web.Administration.SiteCollection
Microsoft.Web.Administration.VirtualDirectoryCollection
Microsoft.Web.Administration.WorkerProcessCollection
| Name | Description | |
|---|---|---|
![]() | ConfigurationElementCollectionBase(Of T)() | Initializes a new empty instance of the ConfigurationElementCollectionBase(Of T) class. |
| Name | Description | |
|---|---|---|
![]() | AllowsAdd | Gets a value indicating whether an add element name is defined in the current collection schema. |
![]() | AllowsClear | Gets a value indicating whether a clear element name is defined in the current collection schema. |
![]() | AllowsRemove | Gets a value indicating whether a remove element name is defined in the current collection schema. |
![]() | Attributes | Gets a configuration attribute collection that contains the list of attributes for this element.(Inherited from ConfigurationElement.) |
![]() | ChildElements | Gets all the child elements of the current element.(Inherited from ConfigurationElement.) |
![]() | Count | Gets the number of items in the collection. |
![]() | IsLocallyStored | Gets a value indicating whether the configuration element is stored in a particular configuration file.(Inherited from ConfigurationElement.) |
![]() | Item(Int32) | Gets a configuration element at the specified index. |
![]() | Item(String) | Gets or sets an attribute with the specified name.(Inherited from ConfigurationElement.) |
![]() | Methods | Gets a collection of methods for the configuration element. (Inherited from ConfigurationElement.) |
![]() | Schema | Gets the schema that describes the configuration element collection. |
| Name | Description | |
|---|---|---|
![]() | Add(T) | Adds a configuration element to the end of the current collection. |
![]() | AddAt(Int32, T) | Adds a configuration element to the current collection at the specified index. |
![]() | Clear() | Clears all configuration elements from the current collection. |
![]() | CreateElement() | Creates a new child element for the current collection. |
![]() | CreateElement(String) | Creates a new child element by using the specified name. |
![]() | CreateNewElement(String) | Creates a new element by using the specified element name. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetAttribute(String) | Returns a ConfigurationAttribute object that represents the requested attribute.(Inherited from ConfigurationElement.) |
![]() | GetAttributeValue(String) | Returns the value of the specified attribute.(Inherited from ConfigurationElement.) |
![]() | GetChildElement(String) | Returns a child element that is under the current configuration element and has the specified name.(Inherited from ConfigurationElement.) |
![]() | GetChildElement(String, Type) | Returns a child element that is under the current configuration element and has the specified name and type.(Inherited from ConfigurationElement.) |
![]() | GetCollection() | Returns the default collection for the current configuration element.(Inherited from ConfigurationElement.) |
![]() | GetCollection(String) | Returns all configuration elements that belong to the current configuration element.(Inherited from ConfigurationElement.) |
![]() | GetCollection(String, Type) | Returns the configuration element that has the specified name and type and is under the current configuration element.(Inherited from ConfigurationElement.) |
![]() | GetCollection(Type) | Returns the configuration element that has the specified type and is under the current configuration element.(Inherited from ConfigurationElement.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through a collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetMetadata(String) | Returns metadata values from the element schema.(Inherited from ConfigurationElement.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(T) | Determines the index of an element in the collection. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(T) | Removes the first occurrence of an element from the collection. |
![]() | RemoveAt(Int32) | Removes the element at the specified index of the collection. |
![]() | SetAttributeValue(String, Object) | Sets the value of the specified attribute.(Inherited from ConfigurationElement.) |
![]() | SetMetadata(String, Object) | Sets metadata values from the element schema.(Inherited from ConfigurationElement.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection.CopyTo(Array, Int32) | Copies the elements of the collection to an array, starting at a particular array index. |
![]() ![]() | IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the collection. |
![]() ![]() | ICollection.Count | |
![]() ![]() | ICollection.IsSynchronized | |
![]() ![]() | ICollection.SyncRoot |
The ConfigurationElementCollectionBase(Of T) class enables you to configure and manage a collection of configuration elements.
You can access elements in this collection by using an integer index. Indexes in this collection are zero-based.
Important |
|---|
This base class is provided to make it easier for implementers to create a custom configuration element collection. This class is marked as abstract; therefore, instances of this class cannot be created directly. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






