ConfigurationEnumValueCollection Class

 

Represents a collection of configuration enumeration values.

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

System.Object
  Microsoft.Web.Administration.ConfigurationEnumValueCollection

public sealed class ConfigurationEnumValueCollection : ICollection, 
	IEnumerable<ConfigurationEnumValue>, IEnumerable

NameDescription
System_CAPS_pubpropertyCount

Gets the number of configuration enumeration values in the current collection

System_CAPS_pubpropertyItem[Int32]

Gets the configuration enumeration value at the specified index in the collection.

System_CAPS_pubpropertyItem[String]

Gets the configuration enumeration value that has the specified name in the current collection.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns a generic enumerator that iterates through the collection of configuration child elements.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetName(Int64)

Gets the name of the first configuration enumeration value that has the specified value in the collection.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the collection to an array.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

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.

Return to top
Show: