ConfigurationEnumValueCollection Class
IIS 7.0
Represents a collection of configuration enumeration values.
Namespace:
Microsoft.Web.Administration
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
The ConfigurationEnumValueCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Count | Gets the number of configuration enumeration values in the current collection |
|
Item[([(Int32])]) | Gets the configuration enumeration value at the specified index in the collection. |
|
Item[([(String])]) | Gets the configuration enumeration value that has the specified name in the current collection. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | Returns a generic enumerator that iterates through the collection of configuration child elements. |
|
GetHashCode | (Inherited from Object.) |
|
GetName | Gets the name of the first configuration enumeration value that has the specified value in the collection. |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ICollection..::..CopyTo | Copies the collection to an array. |
|
IEnumerable..::..GetEnumerator | Returns an enumerator that iterates through the collection. |
|
ICollection..::..IsSynchronized | Gets a value indicating whether access to the ConfigurationEnumValue object is synchronized (thread safe). |
|
ICollection..::..SyncRoot | Gets an object that synchronizes access to the collection. |
A configuration enumeration value is an attribute in the IIS 7 configuration system that validates against a list of accepted schema-defined values. For example, the logonMethod attribute of the <system.webServer/security/authentication/basicAuthentication> configuration section contains enumeration values of "Interactive", "Batch", "Network" and "ClearText", as defined by the schema. A ConfigurationEnumValueCollection object can contain zero or more instances of such values.