You are here: Symbol Reference
> dtSearch.Engine Namespace
> SearchResults Class
> SearchResults Methods
> GetNthDoc Method
> GetNthDoc Method (int)
Close
dtSearch .NET Standard API 2021.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-2021 dtSearch Corp. All rights reserved.