QueryRuleGroupMembersCollection.Item 属性 (Guid)

获取成员查询规则通过其 id。

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

语法

声明
Public ReadOnly Default Property Item ( _
    id As Guid _
) As QueryRule
    Get
用法
Dim instance As QueryRuleGroupMembersCollection
Dim id As Guid
Dim value As QueryRule

value = instance(id)
public QueryRule this[
    Guid id
] { get; }

参数

属性值

类型:Microsoft.Office.Server.Search.Query.Rules.QueryRule

异常

异常 条件
[!:System.KeyNotFoundException]

查询规则集合中不存在时引发

另请参阅

引用

QueryRuleGroupMembersCollection 类

QueryRuleGroupMembersCollection 成员

Item 重载

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