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
- queryRule
Type: Microsoft.Office.Server.Search.Query.Rules.QueryRule
Return value
Type: System.Int32