Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
DSearchJob::DetachResults Method
DSearchJob Class | DSearchJob Class | dtSearch Namespace | Send Feedback

Detach and return the search results generated by this search.

DSearchResults * DetachResults();
Description
Remarks

After a search, use GetResults to access search results. The DSearchJob will continue to own the search results object, so you may not delete the pointer returned from GetResults because the DSearchJob destructor will delete the search results. To obtain ownership of the search results object, use DetachResults to get the search results object and tell the DSearchJob to relinquish ownership.

Class
Links
You are here: C++ Support Classes > dtSearch Namespace > Classes > DSearchJob Class > DSearchJob::DetachResults Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.