You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > SearchResults Class > SearchResults Methods > GetNthDoc Method > GetNthDoc Method (int, SearchResultsItem)
Close
dtSearch .NET Standard API 2024.02
SearchResults.GetNthDoc Method (int, SearchResultsItem)

Obtain information about a document in search results.

public bool GetNthDoc( int whichDoc, SearchResultsItem item );
Parameters
Description
whichDoc
Integer between zero and Count-1 specifying the document to select.
item
SearchResultsItem to receive the information.

After selecting a document, use SearchResults.CurrentItem to access the properties of the document.

Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.