QueryRuleCollection.IndexOf method

Namespace:  Microsoft.Office.Server.Search.Query.Rules
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    queryRule As QueryRule _
) As Integer
'Usage
Dim instance As QueryRuleCollection
Dim queryRule As QueryRule
Dim returnValue As Integer

returnValue = instance.IndexOf(queryRule)
public int IndexOf(
    QueryRule queryRule
)

Parameters

Return value

Type: System.Int32

See also

Reference

QueryRuleCollection class

QueryRuleCollection members

Microsoft.Office.Server.Search.Query.Rules namespace