SPSearchResultCollection.Item Property
Deprecated. Gets the search result object at the specified index in the collection. In Microsoft Visual C#, this property is the indexer for the SPSearchResultCollection class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As SPSearchResult
Get
'Usage
Dim instance As SPSearchResultCollection
Dim index As Integer
Dim value As SPSearchResult
value = instance.Item(index)
public SPSearchResult this[
int index
] { get; }
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index.
Property Value
Type: Microsoft.SharePoint.SPSearchResult
A Microsoft.SharePoint.SPSearchResult object that represents the item returned through a search.
See Also
Reference
SPSearchResultCollection Class