命名空间: Microsoft.Office.Server.Search.Query.Rules
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function IndexOf ( _
queryRule As QueryRule _
) As Integer
用法
Dim instance As QueryRuleCollection
Dim queryRule As QueryRule
Dim returnValue As Integer
returnValue = instance.IndexOf(queryRule)
public int IndexOf(
QueryRule queryRule
)
参数
- queryRule
类型:Microsoft.Office.Server.Search.Query.Rules.QueryRule
返回值
类型:System.Int32