UserSegmentCollection.Item 属性 (String)

获取其 url 的最佳匹配。

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

语法

声明
Public ReadOnly Default Property Item ( _
    displayNames As String _
) As UserSegment
    Get
用法
Dim instance As UserSegmentCollection
Dim displayNames As String
Dim value As UserSegment

value = instance(displayNames)
public UserSegment this[
    string displayNames
] { get; }

参数

属性值

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

异常

异常 条件
ArgumentException

在此最佳匹配集合中不存在时引发

另请参阅

引用

UserSegmentCollection 类

UserSegmentCollection 成员

Item 重载

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