MagicCMS Documentation

MagicPostCollection..::..IndexOf Method

Index of the given item.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public int IndexOf(
	MagicPost item
)

Parameters

item
Type: MagicCMS.Core..::..MagicPost
The item to add.

Return Value

Index of the found item or -1 if not found.