Searches for the specified ScopedElement and returns the zero-based index of the first occurrence within the entire ScopedElementCollection.
The zero-based index of the first occurrence of element within the entire ScopedElementCollection, if found; otherwise, -1.
ScopedElementCollection Class | Atom.AdditionalElements Namespace