Export (0) Print
Expand All

ConfigurationMethodCollection Class

IIS 7.0

Represents a collection of configuration methods.


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

public sealed class ConfigurationMethodCollection : ICollection, 
	IEnumerable<ConfigurationMethod>, IEnumerable

The ConfigurationMethodCollection type exposes the following members.

Public propertyCountGets the number of configuration methods in the collection.
Public propertyItem[([(Int32])])Gets the configuration method at the specified index in the current collection.
Public propertyItem[([(String])])Gets the configuration method with the specified name from the collection.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorReturns a generic enumerator that iterates through the configuration method collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Explicit interface implemetationPrivate methodICollection..::..CopyToCopies the collection to an array.
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumeratorReturns an enumerator that iterates through the configuration method collection.
Explicit interface implemetationPrivate propertyICollection..::..IsSynchronizedGets a value indicating whether access to the configuration method collection is synchronized (thread safe).
Explicit interface implemetationPrivate propertyICollection..::..SyncRootGets an object that synchronizes access to the collection.

Use the ConfigurationMethodCollection class to iterate through a collection of ConfigurationMethod objects.

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

© 2014 Microsoft