This topic has not yet been rated - Rate this topic

ConfigurationAttributeCollection Class

IIS 7.0

Represents a collection of related configuration attributes.

System..::..Object
  Microsoft.Web.Administration..::..ConfigurationAttributeCollection

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.

  Name Description
Public property Count Gets the number of configuration attributes in this configuration attribute collection.
Public property Item[([(Int32])]) Gets the specified configuration attribute at the specified index.
Public property Item[([(String])]) Gets the specified configuration attribute that has the specified name.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns a generic enumerator that iterates through the configuration attribute collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
  Name Description
Explicit interface implemetation Private method ICollection..::..CopyTo Copies the collection to an array.
Explicit interface implemetation Private method IEnumerable..::..GetEnumerator Returns an enumerator that iterates through the configuration attribute collection.
Explicit interface implemetation Private property ICollection..::..IsSynchronized Gets a value indicating whether access to the configuration attribute collection is synchronized (thread safe).
Explicit interface implemetation Private property ICollection..::..SyncRoot Gets an object that synchronizes access to the collection.
Top

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ