ResultTableCollection.Item Property
Gets a ResultTable object from the collection, based on the result type.
Namespace: Microsoft.SharePoint.Search.Query
Assembly: Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
requestedType As ResultType _
) As ResultTable
Get
'Usage
Dim instance As ResultTableCollection
Dim requestedType As ResultType
Dim value As ResultTable
value = instance(requestedType)
public ResultTable this[
ResultType requestedType
] { get; }
Parameters
requestedType
Type: Microsoft.SharePoint.Search.Query.ResultTypeA value from the ResultType enumeration indicating the type of query results to get.
Property Value
Type: Microsoft.SharePoint.Search.Query.ResultTable
A ResultTable object containing only the requested result types.