ConfigurationElement.GetCollection Method (String)

IIS 7.0
 

Returns all configuration elements that belong to the current configuration element.

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

public ConfigurationElementCollection GetCollection(
	string collectionName
)

Parameters

collectionName
Type: System.String

The name of the collection this method should return.

Exception Condition
ArgumentNullException

The collectionName parameter is null or empty.

Return to top
Show: