[]
Gets the index of a specific item in the IList.
public int IndexOf(object value)
Type | Name | Description |
---|---|---|
object | value |
Type | Description |
---|---|
int | The index of |
Returns the zero-based index of the first occurrence of the page object in the pages collection.
public int IndexOf(T value)
Type | Name | Description |
---|---|---|
T | value | An object to search for in the collection. |
Type | Description |
---|---|
int | Index (zero-based) of the first occurrence of the item if it is found in the collection; otherwise |