ConfigurationEnumValueCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of configuration enumeration values.
public ref class ConfigurationEnumValueCollection sealed : System::Collections::Generic::IEnumerable<Microsoft::Web::Administration::ConfigurationEnumValue ^>, System::Collections::ICollection
public sealed class ConfigurationEnumValueCollection : System.Collections.Generic.IEnumerable<Microsoft.Web.Administration.ConfigurationEnumValue>, System.Collections.ICollection
type ConfigurationEnumValueCollection = class
interface ICollection
interface seq<ConfigurationEnumValue>
interface IEnumerable
Public NotInheritable Class ConfigurationEnumValueCollection
Implements ICollection, IEnumerable(Of ConfigurationEnumValue)
- Inheritance
-
ConfigurationEnumValueCollection
- Implements
Remarks
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.
Properties
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. |
Methods
GetEnumerator() |
Returns a generic enumerator that iterates through the collection of configuration child elements. |
GetName(Int64) |
Gets the name of the first configuration enumeration value that has the specified value in the collection. |
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32) |
Copies the collection to an array. |
ICollection.IsSynchronized | |
ICollection.SyncRoot | |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the collection. |