Searches for the specified System.Web.SiteMapNode object, and then returns the zero-based index of the first occurrence within the entire collection.
- value
- The System.Web.SiteMapNode to locate in the System.Web.SiteMapNodeCollection.
The zero-based index of the first occurrence of value within the entire System.Web.SiteMapNodeCollection, if found; otherwise, -1.
The SiteMapNodeCollection.IndexOf(SiteMapNode) method determines equality by calling the object.Equals(object) method.