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

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

Syntax

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

Parameters

value
Type: DotNetNuke.Services.Search..::..SearchCriteria
The SearchCriteriaCollection to locate in the collection.

Return Value

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

See Also