[]
Determines the index of a specific Page object in the PageCollection.
public int IndexOf(Page item)
| Type | Name | Description |
|---|---|---|
| Page | item | A Page object to locate in the PageCollection. |
| Type | Description |
|---|---|
| int | An int value indicating the index of the entry if it was found in the collection;
otherwise, |
PageCollection collection = new PageCollection();
Page page = new Page();
int index = collection.IndexOf(page);