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

Select a document in search results.

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

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

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