Returns the zero-based index of the first occurrence of a Import in the ImportCollection.
ImportCollection. The zero-based index of the first occurrence of item in the entire ImportCollection, if found; otherwise, -1.
ImportCollection Class | DDW.CSharp.Dom Namespace