ServiceModelConfigurationElementCollection<ConfigurationElementType>.IndexOf 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.
Returns the zero-based index of the first occurrence of a configuration element in this collection.
public:
int IndexOf(ConfigurationElementType element);
public int IndexOf (ConfigurationElementType element);
member this.IndexOf : 'ConfigurationElementType -> int
Public Function IndexOf (element As ConfigurationElementType) As Integer
Parameters
- element
- ConfigurationElementType
The configuration element to locate in the collection.
Returns
The index of element
if found in the collection; -1 otherwise.
Exceptions
element
is null
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.