Gets the index in the collection of the specified SearchItemInfoCollection, if it exists in the collection.

Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public int IndexOf(
	SearchItemInfo value
)
Visual Basic
Public Function IndexOf ( 
	value As SearchItemInfo
) As Integer

Parameters

value
Type: DotNetNuke.Services.Search..::..SearchItemInfo
The SearchItemInfoCollection to locate in the collection.

Return Value

The index in the collection of the specified object, if found; otherwise, -1.

See Also