ConfigurationElementCollection.BaseIndexOf(ConfigurationElement) Método

Definición

Indica el índice del objeto ConfigurationElement especificado.

protected:
 int BaseIndexOf(System::Configuration::ConfigurationElement ^ element);
protected int BaseIndexOf (System.Configuration.ConfigurationElement element);
member this.BaseIndexOf : System.Configuration.ConfigurationElement -> int
Protected Function BaseIndexOf (element As ConfigurationElement) As Integer

Parámetros

element
ConfigurationElement

Objeto ConfigurationElement para la ubicación de índice especificada.

Devoluciones

Índice del objeto ConfigurationElement especificado; de lo contrario, -1.

Ejemplos

En el ejemplo de código siguiente se muestra cómo llamar al BaseIndexOf método .

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

Se aplica a