Determines the index of a specific item in the PageDataCollection.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public int IndexOf(
	PageData item
)

Parameters

item
Type: EPiServer.Core..::.PageData
The PageData item to locate in the PageDataCollection.

Return Value

The index of item if found in the list; otherwise, -1.

Implements

IList<(Of <(T>)>)..::.IndexOf(T)

See Also