QueryRuleGroupMembersCollection.OnPreAddInternal 方法

将查询规则添加到集合中的指定位置。位置是从零开始。

命名空间:  Microsoft.Office.Server.Search.Query.Rules
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Protected Overrides Sub OnPreAddInternal ( _
    queryRule As QueryRule _
)
用法
Dim queryRule As QueryRule

Me.OnPreAddInternal(queryRule)
protected override void OnPreAddInternal(
    QueryRule queryRule
)

参数

异常

异常 条件
NotSupportedException

该集合为只读时,引发

ArgumentOutOfRangeException

索引不在集合的有效索引时引发。

ArgumentException

集合中已存在的查询规则时,引发

另请参阅

引用

QueryRuleGroupMembersCollection 类

QueryRuleGroupMembersCollection 成员

Microsoft.Office.Server.Search.Query.Rules 命名空间