ConfigurationElementCollection.BaseIndexOf(ConfigurationElement) メソッド

定義

指定した 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

パラメーター

element
ConfigurationElement

指定したインデックス位置の ConfigurationElement

返品

指定した ConfigurationElementのインデックス。それ以外の場合は -1。

次のコード例は、 BaseIndexOf メソッドを呼び出す方法を示しています。

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

適用対象