Searches for the specified Category and returns the zero-based index of the first occurrence within the entire collection.

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

Syntax

C#
public int IndexOf(
	Category category
)

Parameters

category
Type: EPiServer.DataAbstraction..::.Category
The Category to locate in the CollectionBase.

Return Value

The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

See Also