Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

  NameDescription
Public propertyCountGets the number of configuration enumeration values in the current collection
Public propertyItem[([(Int32])])Gets the configuration enumeration value at the specified index in the collection.
Public propertyItem[([(String])])Gets the configuration enumeration value that has the specified name in the current collection.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorReturns a generic enumerator that iterates through the collection of configuration child elements.
Public methodGetHashCode (Inherited from Object.)
Public methodGetNameGets the name of the first configuration enumeration value that has the specified value in the collection.
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 collection.
Explicit interface implemetationPrivate propertyICollection..::..IsSynchronizedGets a value indicating whether access to the ConfigurationEnumValue object is synchronized (thread safe).
Explicit interface implemetationPrivate propertyICollection..::..SyncRootGets 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.

Community Additions

ADD
Show:
© 2015 Microsoft