This topic has not yet been rated - Rate this topic

ConfigurationEnumValueCollection Class

IIS 7.0

Represents a collection of configuration enumeration values.

System..::..Object
  Microsoft.Web.Administration..::..ConfigurationEnumValueCollection

Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
public sealed class ConfigurationEnumValueCollection : ICollection, 
	IEnumerable<ConfigurationEnumValue>, IEnumerable

The ConfigurationEnumValueCollection type exposes the following members.

  Name Description
Public property Count Gets the number of configuration enumeration values in the current collection
Public property Item[([(Int32])]) Gets the configuration enumeration value at the specified index in the collection.
Public property Item[([(String])]) Gets the configuration enumeration value that has the specified name in the current collection.
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 collection of configuration child elements.
Public method GetHashCode (Inherited from Object.)
Public method GetName Gets the name of the first configuration enumeration value that has the specified value in the collection.
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 collection.
Explicit interface implemetation Private property ICollection..::..IsSynchronized Gets a value indicating whether access to the ConfigurationEnumValue object is synchronized (thread safe).
Explicit interface implemetation Private property ICollection..::..SyncRoot Gets an object that synchronizes access to the collection.
Top

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.

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