Export (0) Print
Expand All

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)

[<SealedAttribute>]
type ConfigurationAttributeCollection =  
    class
        interface ICollection
        interface IEnumerable<ConfigurationAttribute>
        interface IEnumerable
    end

The ConfigurationAttributeCollection type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.)
Top

  NameDescription
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.
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.

Community Additions

ADD
Show:
© 2014 Microsoft