ConfigurationElementCollection.BaseIndexOf(ConfigurationElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- element
- ConfigurationElement
The ConfigurationElement for the specified index location.
Returns
The index of the specified ConfigurationElement; otherwise, -1.
Examples
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
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.