Export (0) Print
Expand All

ConfigurationAttributeCollection Class

Represents a collection of related configuration attributes.


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

public sealed class ConfigurationAttributeCollection : ICollection, 
	IEnumerable<ConfigurationAttribute>, IEnumerable

The ConfigurationAttributeCollection type exposes the following members.

Public propertyCountGets the number of configuration attributes in this configuration attribute collection.
Public propertyItem[([(Int32])])Gets the specified configuration attribute at the specified index.
Public propertyItem[([(String])])Gets the specified configuration attribute that has the specified name.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorReturns a generic enumerator that iterates through the configuration attribute collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Explicit interface implemetationPrivate methodICollection..::..CopyToCopies the collection to an array.
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumeratorReturns an enumerator that iterates through the configuration attribute collection.
Explicit interface implemetationPrivate propertyICollection..::..IsSynchronizedGets a value indicating whether access to the configuration attribute collection is synchronized (thread safe).
Explicit interface implemetationPrivate propertyICollection..::..SyncRootGets an object that synchronizes access to the collection.

Use the ConfigurationAttributeCollection class to iterate through a collection of ConfigurationAttribute objects. You can access this collection of objects by using the ConfigurationElement..::..RawAttributes 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.

Community Additions

© 2015 Microsoft