Parameters
- item
- A Page object to locate in the PageCollection.
Return Value
An System.Int32 value indicating the index of the entry if it was found in the collection; otherwise,
-1
.-1
.PageCollection collection = new PageCollection(); Page page = new Page(); int index = collection.IndexOf(page);