ConfigurationAttributeCollection Class

Definition

Represents a collection of related configuration attributes.

public ref class ConfigurationAttributeCollection sealed : System::Collections::Generic::IEnumerable<Microsoft::Web::Administration::ConfigurationAttribute ^>, System::Collections::ICollection
public sealed class ConfigurationAttributeCollection : System.Collections.Generic.IEnumerable<Microsoft.Web.Administration.ConfigurationAttribute>, System.Collections.ICollection
type ConfigurationAttributeCollection = class
    interface ICollection
    interface seq<ConfigurationAttribute>
    interface IEnumerable
Public NotInheritable Class ConfigurationAttributeCollection
Implements ICollection, IEnumerable(Of ConfigurationAttribute)
Inheritance
ConfigurationAttributeCollection
Implements

Remarks

Use the ConfigurationAttributeCollection class to iterate through a collection of ConfigurationAttribute objects. You can access this collection of objects by using the Microsoft.Web.Administration.ConfigurationElement.RawAttributes property.

Properties

Name Description
Count

Gets the number of configuration attributes in this configuration attribute collection.

Item[Int32]

Gets the specified configuration attribute at the specified index.

Item[String]

Gets the specified configuration attribute that has the specified name.

Methods

Name Description
GetEnumerator()

Returns a generic enumerator that iterates through the configuration attribute collection.

Explicit Interface Implementations

Name Description
ICollection.CopyTo(Array, Int32)

Copies the collection to an array.

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the configuration attribute collection.

Applies to