Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
)

Parameters

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.

Public Function IndexOf(ByVal url As UrlConfigElement) As Integer
    Return BaseIndexOf(url)
End Function

.NET Framework
Available since 2.0
Return to top
Show: