ResultTableCollection.Exists 方法 (Microsoft.Office.Server.Search.Query)

Returns a Boolean value that indicates whether the specified ResultTable object exists in the collection.

命名空间: Microsoft.Office.Server.Search.Query
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Function Exists ( _
    requestedType As ResultType _
) As Boolean
用法
Dim instance As ResultTableCollection
Dim requestedType As ResultType
Dim returnValue As Boolean

returnValue = instance.Exists(requestedType)
public bool Exists (
    ResultType requestedType
)

参数

  • requestedType
    A value from the ResultType enumeration.

返回值

true if the specified ResultTable object exists; otherwise, false.

另请参阅

参考

ResultTableCollection 类
ResultTableCollection 成员
Microsoft.Office.Server.Search.Query 命名空间