BaseIndexOf Method

ConfigurationElementCollection.BaseIndexOf Method (ConfigurationElement)


Indicates the index of the specified ConfigurationElement.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

protected int BaseIndexOf(
	ConfigurationElement element


Type: System.Configuration.ConfigurationElement

The ConfigurationElement for the specified index location.

Return Value

Type: System.Int32

The index of the specified ConfigurationElement; otherwise, -1.

The following code example shows how to call the BaseIndexOf method.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft