ConfigurationElementCollection.BaseIndexOf(ConfigurationElement) Método

Definição

Indica o índice do ConfigurationElement especificado.Indicates the index of the specified ConfigurationElement.

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

O ConfigurationElement para o local do índice especificado.The ConfigurationElement for the specified index location.

Retornos

O índice do ConfigurationElement especificado, caso contrário, -1.The index of the specified ConfigurationElement; otherwise, -1.

Exemplos

O exemplo de código a seguir mostra como chamar o método BaseIndexOf.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

Aplica-se a