获取其 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 UserSegment
Get
用法
Dim instance As UserSegmentCollection
Dim id As Guid
Dim value As UserSegment
value = instance(id)
public UserSegment this[
Guid id
] { get; }
参数
- id
类型:System.Guid
属性值
类型:Microsoft.Office.Server.Search.Query.Rules.UserSegment
异常
| 异常 | 条件 |
|---|---|
| ArgumentException | 在此最佳匹配集合中不存在时引发 |